Remove unused code

This commit is contained in:
Pig Fang 2019-09-18 23:17:12 +08:00
parent 3b1866ffba
commit 84f760d930

View File

@ -38,10 +38,6 @@ class AppServiceProvider extends ServiceProvider
// Control the URL generated by url() function
$this->configureUrlGenerator();
Blade::if('admin', function (User $user) {
return $user->isAdmin();
});
Event::listen(Events\RenderingHeader::class, function ($event) {
$blessing = [
'version' => config('app.version'),