diff --git a/lib/private/systemconfig.php b/lib/private/systemconfig.php index 451ccd85e2fde94ef96121e76c0ae60ce6ca6ef9..13b0959768ae1aa0338c579e2ec9deda2b4a93e9 100644 --- a/lib/private/systemconfig.php +++ b/lib/private/systemconfig.php @@ -28,6 +28,14 @@ namespace OC; * fixes cyclic DI: AllConfig needs AppConfig needs Database needs AllConfig */ class SystemConfig { + /** + * Lists all available config keys + * @return array an array of key names + */ + public function getKeys() { + return \OC_Config::getKeys(); + } + /** * Sets a new system wide value *