summaryrefslogtreecommitdiffstats
path: root/lib/public/config.php
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-06-02 18:31:43 +0200
committerMorris Jobke <morris.jobke@gmail.com>2014-06-02 18:31:43 +0200
commit9a67986473cee003dd594c8f67eecab0eee547d8 (patch)
tree1d24e462e2263a52642ae07cac9b9f23084c5028 /lib/public/config.php
parent079b709f28e8f768f36ca3b5e11e60bec8f63e4a (diff)
downloadnextcloud-server-9a67986473cee003dd594c8f67eecab0eee547d8.tar.gz
nextcloud-server-9a67986473cee003dd594c8f67eecab0eee547d8.zip
add OCP\Config:deleteSystemValue
Diffstat (limited to 'lib/public/config.php')
-rw-r--r--lib/public/config.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/config.php b/lib/public/config.php
index 8e3791b449b..ea3e0c1372a 100644
--- a/lib/public/config.php
+++ b/lib/public/config.php
@@ -71,6 +71,16 @@ class Config {
}
/**
+ * Deletes a value from config.php
+ * @param string $key key
+ *
+ * This function deletes the value from config.php.
+ */
+ public static function deleteSystemValue( $key ) {
+ return \OC_Config::deleteKey( $key );
+ }
+
+ /**
* Gets the config value
* @param string $app app
* @param string $key key