diff options
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index c79f16567d8..5ea1b697391 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -119,6 +119,7 @@ use OC\Tagging\TagMapper; use OC\Template\IconsCacher; use OC\Template\JSCombiner; use OC\Template\SCSSCacher; +use OC\Dashboard\DashboardManager; use OCA\Theming\ImageManager; use OCA\Theming\ThemingDefaults; @@ -126,6 +127,7 @@ use OCP\App\IAppManager; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Collaboration\AutoComplete\IManager; use OCP\Contacts\ContactsMenu\IContactsStore; +use OCP\Dashboard\IDashboardManager; use OCP\Defaults; use OCA\Theming\Util; use OCP\Federation\ICloudFederationFactory; @@ -1172,6 +1174,8 @@ class Server extends ServerContainer implements IServerContainer { }); $this->registerAlias(IContactsStore::class, ContactsStore::class); + $this->registerAlias(IDashboardManager::class, Dashboard\DashboardManager::class); + $this->connectDispatcher(); } |