Remove old code

This commit is contained in:
Toby Zerner 2015-05-05 09:17:00 +09:30
parent c4e18488b9
commit ab6675d19b

View File

@ -54,13 +54,6 @@ class CoreServiceProvider extends ServiceProvider
// forum, registering, and starting discussions.) // forum, registering, and starting discussions.)
$this->app->singleton('flarum.forum', 'Flarum\Core\Models\Forum'); $this->app->singleton('flarum.forum', 'Flarum\Core\Models\Forum');
// Register the extensions manager object. This manages a list of
// available extensions, and provides functionality to enable/disable
// them.
$this->app->singleton('flarum.extensions', 'Flarum\Core\Support\Extensions\Manager');
$this->app->bind('flarum.discussionFinder', 'Flarum\Core\Discussions\DiscussionFinder');
$this->app->singleton('flarum.formatter', function () { $this->app->singleton('flarum.formatter', function () {
$formatter = new FormatterManager($this->app); $formatter = new FormatterManager($this->app);
$formatter->add('basic', 'Flarum\Core\Formatter\BasicFormatter'); $formatter->add('basic', 'Flarum\Core\Formatter\BasicFormatter');