aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/iappconfig.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-11-27 17:03:17 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-08 22:29:42 +0100
commitd6da627eb44444618e5cd9ee29ef2cc4eacb0993 (patch)
tree0b54405fd30b4755312215d87bab7b55b0f24d2a /lib/public/iappconfig.php
parent50c2a819a0c5ae50571d36a3e2dec4e8267fd13b (diff)
downloadnextcloud-server-d6da627eb44444618e5cd9ee29ef2cc4eacb0993.tar.gz
nextcloud-server-d6da627eb44444618e5cd9ee29ef2cc4eacb0993.zip
@deprecated messages for \OCP\Config and \OCP\AppConfig
Diffstat (limited to 'lib/public/iappconfig.php')
-rw-r--r--lib/public/iappconfig.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/iappconfig.php b/lib/public/iappconfig.php
index d43eb70ee04..da4090d5e69 100644
--- a/lib/public/iappconfig.php
+++ b/lib/public/iappconfig.php
@@ -26,6 +26,7 @@ interface IAppConfig {
* @param string $key key
* @param string $default = null, default value if the key does not exist
* @return string the value or $default
+ * @deprecated use method getAppValue of \OCP\IConfig
*
* This function gets a value from the appconfig table. If the key does
* not exist the default value will be returned
@@ -37,8 +38,7 @@ interface IAppConfig {
* @param string $app app
* @param string $key key
* @return bool
- *
- * Deletes a key.
+ * @deprecated use method deleteAppValue of \OCP\IConfig
*/
public function deleteKey($app, $key);
@@ -46,6 +46,7 @@ interface IAppConfig {
* Get the available keys for an app
* @param string $app the app we are looking for
* @return array an array of key names
+ * @deprecated use method getAppKeys of \OCP\IConfig
*
* This function gets all keys of an app. Please note that the values are
* not returned.
@@ -66,6 +67,7 @@ interface IAppConfig {
* @param string $app app
* @param string $key key
* @param string $value value
+ * @deprecated use method setAppValue of \OCP\IConfig
*
* Sets a value. If the key did not exist before it will be created.
* @return void