More code for 5.3

This commit is contained in:
James Cole
2016-09-16 06:48:38 +02:00
parent 51d9f041ae
commit d00fbe4eb3
7 changed files with 5 additions and 17 deletions

6
app/Providers/AppServiceProvider.php Normal file → Executable file
View File

@@ -12,7 +12,6 @@ declare(strict_types = 1);
namespace FireflyIII\Providers;
use Illuminate\Support\ServiceProvider;
use Log;
use URL;
/**
@@ -49,10 +48,5 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
// make sure the logger doesn't log everything when it doesn't need to.
$monolog = Log::getMonolog();
foreach ($monolog->getHandlers() as $handler) {
$handler->setLevel(config('app.log-level'));
}
}
}

9
app/Providers/AuthServiceProvider.php Normal file → Executable file
View File

@@ -11,7 +11,6 @@ declare(strict_types = 1);
namespace FireflyIII\Providers;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
/**
@@ -32,15 +31,13 @@ class AuthServiceProvider extends ServiceProvider
];
/**
* Register any application authentication / authorization services.
*
* @param \Illuminate\Contracts\Auth\Access\Gate $gate
* Register any authentication / authorization services.
*
* @return void
*/
public function boot(GateContract $gate)
public function boot()
{
$this->registerPolicies($gate);
$this->registerPolicies();
//
}