Skip to content
Snippets Groups Projects
Commit 3c5a6b82 authored by Joas Schilling's avatar Joas Schilling
Browse files

Allow DI the system tag stuff without Application class

parent b9faba88
No related branches found
No related tags found
No related merge requests found
...@@ -206,6 +206,14 @@ class DIContainer extends SimpleContainer implements IAppContainer { ...@@ -206,6 +206,14 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return $this->getServer()->getSecureRandom(); return $this->getServer()->getSecureRandom();
}); });
$this->registerService('OCP\\SystemTag\\ISystemTagManager', function() {
return $this->getServer()->getSystemTagManager();
});
$this->registerService('OCP\\SystemTag\\ISystemTagObjectMapper', function() {
return $this->getServer()->getSystemTagObjectMapper();
});
$this->registerService('OCP\\IURLGenerator', function($c) { $this->registerService('OCP\\IURLGenerator', function($c) {
return $this->getServer()->getURLGenerator(); return $this->getServer()->getURLGenerator();
}); });
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades // We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel // between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
// when updating major/minor version number. // when updating major/minor version number.
$OC_Version = array(9, 0, 0, 3); $OC_Version = array(9, 0, 0, 4);
// The human readable string // The human readable string
$OC_VersionString = '9.0 pre alpha'; $OC_VersionString = '9.0 pre alpha';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment