mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 13:36:15 +00:00
Code cleanup.
This commit is contained in:
@@ -64,11 +64,7 @@ class AuthServiceProvider extends ServiceProvider
|
||||
);
|
||||
|
||||
$this->registerPolicies();
|
||||
|
||||
|
||||
Passport::routes();
|
||||
Passport::tokensExpireIn(now()->addDays(14));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -177,8 +177,6 @@ class EventServiceProvider extends ServiceProvider
|
||||
Session::flash('error', 'Possible email error: ' . $e->getMessage());
|
||||
}
|
||||
Log::debug('If no error above this line, message was sent.');
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -176,15 +176,11 @@ class FireflyServiceProvider extends ServiceProvider
|
||||
|
||||
// chart generator:
|
||||
$this->app->bind(GeneratorInterface::class, ChartJsGenerator::class);
|
||||
|
||||
|
||||
// other generators
|
||||
$this->app->bind(UserRepositoryInterface::class, UserRepository::class);
|
||||
$this->app->bind(TransactionTypeRepositoryInterface::class, TransactionTypeRepository::class);
|
||||
|
||||
$this->app->bind(AttachmentHelperInterface::class, AttachmentHelper::class);
|
||||
|
||||
|
||||
$this->app->bind(
|
||||
ObjectGroupRepositoryInterface::class,
|
||||
static function (Application $app) {
|
||||
|
||||
@@ -37,8 +37,6 @@ class RouteServiceProvider extends ServiceProvider
|
||||
* @var string
|
||||
*/
|
||||
public const HOME = '/';
|
||||
|
||||
|
||||
/**
|
||||
* This namespace is applied to your controller routes.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user