mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
Remove static references
This commit is contained in:
@@ -38,7 +38,7 @@ class CronController
|
||||
*/
|
||||
public function cron()
|
||||
{
|
||||
Log::error('The cron endpoint has moved to GET /api/v1/cron/[token]');
|
||||
app('log')->error('The cron endpoint has moved to GET /api/v1/cron/[token]');
|
||||
|
||||
return response('The cron endpoint has moved to GET /api/v1/cron/[token]', 500);
|
||||
}
|
||||
|
||||
@@ -116,8 +116,8 @@ class InstallController extends Controller
|
||||
try {
|
||||
$result = $this->executeCommand($command, $parameters);
|
||||
} catch (FireflyException $e) {
|
||||
Log::error($e->getMessage());
|
||||
Log::error($e->getTraceAsString());
|
||||
app('log')->error($e->getMessage());
|
||||
app('log')->error($e->getTraceAsString());
|
||||
if (strpos($e->getMessage(), 'open_basedir restriction in effect')) {
|
||||
$this->lastError = self::BASEDIR_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user