diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-09-30 06:51:40 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-09-30 06:51:40 +0200 |
commit | 241862756eaa0fdbdcc278d14c6c1652dc4237d0 (patch) | |
tree | 0954204d047f587424384f60fd4c4e1d334ec8da /lib/config.php | |
parent | 3273beb887fb8fd4c317a0263caa38a26e34f95e (diff) | |
parent | 258782584e490b92ccfcf032921aa7062a28da9f (diff) | |
download | nextcloud-server-241862756eaa0fdbdcc278d14c6c1652dc4237d0.tar.gz nextcloud-server-241862756eaa0fdbdcc278d14c6c1652dc4237d0.zip |
Merge branch 'master' of github.com:owncloud/core into vcategories_db
Diffstat (limited to 'lib/config.php')
-rw-r--r-- | lib/config.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/config.php b/lib/config.php index 032d401264c..cbea9199320 100644 --- a/lib/config.php +++ b/lib/config.php @@ -47,7 +47,7 @@ class OC_Config{ /** * @brief Lists all available config keys - * @returns array with key names + * @return array with key names * * This function returns all keys saved in config.php. Please note that it * does not return the values. @@ -60,9 +60,9 @@ class OC_Config{ /** * @brief Gets a value from config.php - * @param $key key - * @param $default = null default value - * @returns the value or $default + * @param string $key key + * @param string $default = null default value + * @return string the value or $default * * This function gets the value from config.php. If it does not exist, * $default will be returned. @@ -79,9 +79,9 @@ class OC_Config{ /** * @brief Sets a value - * @param $key key - * @param $value value - * @returns true/false + * @param string $key key + * @param string $value value + * @return bool * * This function sets the value and writes the config.php. If the file can * not be written, false will be returned. @@ -99,8 +99,8 @@ class OC_Config{ /** * @brief Removes a key from the config - * @param $key key - * @returns true/false + * @param string $key key + * @return bool * * This function removes a key from the config.php. If owncloud has no * write access to config.php, the function will return false. @@ -121,7 +121,7 @@ class OC_Config{ /** * @brief Loads the config file - * @returns true/false + * @return bool * * Reads the config file and saves it to the cache */ @@ -148,7 +148,7 @@ class OC_Config{ /** * @brief Writes the config file - * @returns true/false + * @return bool * * Saves the config to the config file. * |