1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 15:04:25 +02:00

Clean up some old code

This commit is contained in:
Toby Zerner
2015-06-18 17:43:16 +09:30
parent 32beab9238
commit 555bb18acd
3 changed files with 3 additions and 15 deletions

View File

@@ -2,7 +2,6 @@
use Flarum\Http\RouteCollection;
use Flarum\Http\UrlGenerator;
use Flarum\Support\AssetManager;
use Illuminate\Support\ServiceProvider;
use Psr\Http\Message\ServerRequestInterface;
@@ -15,10 +14,6 @@ class AdminServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->singleton('flarum.admin.assetManager', function () {
return new AssetManager($this->app->make('files'), public_path('assets'), 'admin');
});
$this->app->singleton(
'Flarum\Http\UrlGeneratorInterface',
function () {