]> source.dussan.org Git - nextcloud-server.git/commitdiff
add function to get config object from OC_Config
authorRobin Appelman <icewind@owncloud.com>
Mon, 29 Jul 2013 14:32:37 +0000 (16:32 +0200)
committerRobin Appelman <icewind@owncloud.com>
Mon, 29 Jul 2013 14:32:37 +0000 (16:32 +0200)
lib/legacy/config.php

index 5294a48ea44a428cea76efd6b71209230729a01a..7e4980137377baadc8959bd1fe2a8326a753b752 100644 (file)
@@ -46,6 +46,10 @@ class OC_Config {
         */
        public static $object;
 
+       public static function getObject() {
+               return self::$object;
+       }
+
        /**
         * @brief Lists all available config keys
         * @return array with key names