summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/legacy/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/legacy/config.php b/lib/legacy/config.php
index 5294a48ea44..7e498013737 100644
--- a/lib/legacy/config.php
+++ b/lib/legacy/config.php
@@ -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