From fbbe0ebe7735222b7e9502585c622ea3f98648c2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 29 Jul 2013 16:32:37 +0200 Subject: [PATCH] add function to get config object from OC_Config --- lib/legacy/config.php | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5