diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-03-27 18:50:11 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-27 18:50:11 +0100 |
commit | a32c71d25ef31f837c4a2d377fd9e60b2cfe045a (patch) | |
tree | 2b40af83567f7e59e556dea3d0144e11e3b32dc3 /lib/public | |
parent | f4dc9e6bf3bf1db1712fde818b5df64516763ce6 (diff) | |
download | nextcloud-server-a32c71d25ef31f837c4a2d377fd9e60b2cfe045a.tar.gz nextcloud-server-a32c71d25ef31f837c4a2d377fd9e60b2cfe045a.zip |
Revert "Deprecated \OCP\IAppConfig - add missing methods to IConfig"
This reverts commit 012016d3311a13c3c1e9d60778dc6fbd6be0204e.
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/iappconfig.php | 7 | ||||
-rw-r--r-- | lib/public/iconfig.php | 37 |
2 files changed, 0 insertions, 44 deletions
diff --git a/lib/public/iappconfig.php b/lib/public/iappconfig.php index 8846445f94c..33fc3e4e362 100644 --- a/lib/public/iappconfig.php +++ b/lib/public/iappconfig.php @@ -27,10 +27,6 @@ namespace OCP; /** * This class provides an easy way for apps to store config values in the * database. - * - * @deprecated This interface will be dropped with ownCloud 10.1 which will be - * released in the first quarter of 2017. Use the methods of - * \OCP\IConfig instead */ interface IAppConfig { /** @@ -38,7 +34,6 @@ interface IAppConfig { * @param string $app * @param string $key * @return bool - * @deprecated use method hasAppKey of \OCP\IConfig */ public function hasKey($app, $key); @@ -81,7 +76,6 @@ interface IAppConfig { * @param string|false $key * @param string|false $app * @return array|false - * @deprecated use method getAppValuesByApp or getAppValuesByKey of \OCP\IConfig */ public function getValues($app, $key); @@ -100,7 +94,6 @@ interface IAppConfig { /** * Get all apps using the config * @return array an array of app ids - * @deprecated use method getApps of \OCP\IConfig * * This function returns a list of all apps that have at least one * entry in the appconfig table. diff --git a/lib/public/iconfig.php b/lib/public/iconfig.php index 8321c4043cd..c63ba1a90a6 100644 --- a/lib/public/iconfig.php +++ b/lib/public/iconfig.php @@ -90,16 +90,6 @@ interface IConfig { public function setAppValue($appName, $key, $value); /** - * Checks if a key is set in the apps config - * - * @param string $appName the appName tto look a key up - * @param string $key the key to look up - * @return bool - * @since 8.1.0 - */ - public function hasAppKey($appName, $key); - - /** * Looks up an app wide defined value * * @param string $appName the appName that we stored the value under @@ -110,33 +100,6 @@ interface IConfig { public function getAppValue($appName, $key, $default = ''); /** - * Get all app values that are stored - * - * @param string $appName the appName - * @return array with key - value pair as they are saved previously - * @since 8.1.0 - */ - public function getAppValuesByApp($appName); - - /** - * Get all app values that use the same key - * - * @param string $key the appName - * @return array with key - value pair as they are saved previously with the - * app name as key - * @since 8.1.0 - */ - public function getAppValuesByKey($key); - - /** - * Get all apps that have at least one value saved - * - * @return array containing app names - * @since 8.1.0 - */ - public function getApps(); - - /** * Delete an app wide defined value * * @param string $appName the appName that we stored the value under |