]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow DI the system tag stuff without Application class
authorJoas Schilling <nickvergessen@owncloud.com>
Mon, 30 Nov 2015 16:08:29 +0000 (17:08 +0100)
committerJoas Schilling <nickvergessen@owncloud.com>
Mon, 30 Nov 2015 16:08:29 +0000 (17:08 +0100)
lib/private/appframework/dependencyinjection/dicontainer.php
version.php

index eeab9b96e597861eea6f1610bea39c5be235f0a2..0c46c0bf09faf8b6200fb567f2444eee7505a45a 100644 (file)
@@ -206,6 +206,14 @@ class DIContainer extends SimpleContainer implements IAppContainer {
                        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) {
                        return $this->getServer()->getURLGenerator();
                });
index 50adcf5db604e4b80b01e3ef5c85c4a1529fbd59..68ed5c9c21760d5ae6e7e592669ccc3852ced3d5 100644 (file)
@@ -25,7 +25,7 @@
 // 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
 // when updating major/minor version number.
-$OC_Version = array(9, 0, 0, 3);
+$OC_Version = array(9, 0, 0, 4);
 
 // The human readable string
 $OC_VersionString = '9.0 pre alpha';