Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-28 18:13:52 +0400
committerVincent Petry <pvince81@owncloud.com>2014-10-09 20:19:59 +0400
commit4858b5e94a9a64ee30bc66473e5864c853e92b33 (patch)
tree3a9d13323f50322e47d6c03091889ad23c20cf63 /lib/public
parent3d68d172af6ede67fad7bbed2a61a60663ef226e (diff)
Expose getAppKeys trough \OCP\IConfig
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/iconfig.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/iconfig.php b/lib/public/iconfig.php
index d4a8cdc7381..1d13a7a6e2e 100644
--- a/lib/public/iconfig.php
+++ b/lib/public/iconfig.php
@@ -51,6 +51,20 @@ interface IConfig {
*/
public function getSystemValue($key, $default = '');
+ /**
+ * Delete a system wide defined value
+ *
+ * @param string $key the key of the value, under which it was saved
+ */
+ public function deleteSystemValue($key);
+
+ /**
+ * Get all keys stored for an app
+ *
+ * @param string $appName the appName that we stored the value under
+ * @return string[] the keys stored for the app
+ */
+ public function getAppKeys($appName);
/**
* Writes a new app wide value