summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-05-19 17:50:53 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-05-19 17:50:53 +0200
commitdc36d3095314db8d88c2ec1005d99af595c119da (patch)
tree9de515019d7ebae43a545e5dc4eb522ef71dbe9c /lib/private/legacy
parent95741f3936501e3ad6aeb26f93eeb28f9decc273 (diff)
downloadnextcloud-server-dc36d3095314db8d88c2ec1005d99af595c119da.tar.gz
nextcloud-server-dc36d3095314db8d88c2ec1005d99af595c119da.zip
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/appconfig.php14
-rw-r--r--lib/private/legacy/config.php8
-rw-r--r--lib/private/legacy/preferences.php18
3 files changed, 20 insertions, 20 deletions
diff --git a/lib/private/legacy/appconfig.php b/lib/private/legacy/appconfig.php
index 209f42ffe38..4634f2c695d 100644
--- a/lib/private/legacy/appconfig.php
+++ b/lib/private/legacy/appconfig.php
@@ -34,7 +34,7 @@ class OC_Appconfig {
}
/**
- * @brief Get all apps using the config
+ * Get all apps using the config
* @return array an array of app ids
*
* This function returns a list of all apps that have at least one
@@ -45,7 +45,7 @@ class OC_Appconfig {
}
/**
- * @brief Get the available keys for an app
+ * Get the available keys for an app
* @param string $app the app we are looking for
* @return array an array of key names
*
@@ -57,7 +57,7 @@ class OC_Appconfig {
}
/**
- * @brief Gets the config value
+ * Gets the config value
* @param string $app app
* @param string $key key
* @param string $default = null, default value if the key does not exist
@@ -71,7 +71,7 @@ class OC_Appconfig {
}
/**
- * @brief check if a key is set in the appconfig
+ * check if a key is set in the appconfig
* @param string $app
* @param string $key
* @return bool
@@ -81,7 +81,7 @@ class OC_Appconfig {
}
/**
- * @brief sets a value in the appconfig
+ * sets a value in the appconfig
* @param string $app app
* @param string $key key
* @param string $value value
@@ -93,7 +93,7 @@ class OC_Appconfig {
}
/**
- * @brief Deletes a key
+ * Deletes a key
* @param string $app app
* @param string $key key
*
@@ -104,7 +104,7 @@ class OC_Appconfig {
}
/**
- * @brief Remove app from appconfig
+ * Remove app from appconfig
* @param string $app app
*
* Removes all keys in appconfig belonging to the app.
diff --git a/lib/private/legacy/config.php b/lib/private/legacy/config.php
index 76a53d3f627..899c19532f0 100644
--- a/lib/private/legacy/config.php
+++ b/lib/private/legacy/config.php
@@ -50,7 +50,7 @@ class OC_Config {
}
/**
- * @brief Lists all available config keys
+ * Lists all available config keys
* @return array an array of key names
*
* This function returns all keys saved in config.php. Please note that it
@@ -61,7 +61,7 @@ class OC_Config {
}
/**
- * @brief Gets a value from config.php
+ * Gets a value from config.php
* @param string $key key
* @param mixed $default = null default value
* @return mixed the value or $default
@@ -74,7 +74,7 @@ class OC_Config {
}
/**
- * @brief Sets a value
+ * Sets a value
* @param string $key key
* @param mixed $value value
*
@@ -86,7 +86,7 @@ class OC_Config {
}
/**
- * @brief Removes a key from the config
+ * Removes a key from the config
* @param string $key key
*
* This function removes a key from the config.php.
diff --git a/lib/private/legacy/preferences.php b/lib/private/legacy/preferences.php
index eed6730a529..71d0b749f43 100644
--- a/lib/private/legacy/preferences.php
+++ b/lib/private/legacy/preferences.php
@@ -28,7 +28,7 @@ OC_Preferences::$object = new \OC\Preferences(OC_DB::getConnection());
class OC_Preferences{
public static $object;
/**
- * @brief Get all users using the preferences
+ * Get all users using the preferences
* @return array an array of user ids
*
* This function returns a list of all users that have at least one entry
@@ -39,7 +39,7 @@ class OC_Preferences{
}
/**
- * @brief Get all apps of a user
+ * Get all apps of a user
* @param string $user user
* @return integer[] with app ids
*
@@ -51,7 +51,7 @@ class OC_Preferences{
}
/**
- * @brief Get the available keys for an app
+ * Get the available keys for an app
* @param string $user user
* @param string $app the app we are looking for
* @return array an array of key names
@@ -64,7 +64,7 @@ class OC_Preferences{
}
/**
- * @brief Gets the preference
+ * Gets the preference
* @param string $user user
* @param string $app app
* @param string $key key
@@ -79,7 +79,7 @@ class OC_Preferences{
}
/**
- * @brief sets a value in the preferences
+ * sets a value in the preferences
* @param string $user user
* @param string $app app
* @param string $key key
@@ -95,7 +95,7 @@ class OC_Preferences{
}
/**
- * @brief Deletes a key
+ * Deletes a key
* @param string $user user
* @param string $app app
* @param string $key key
@@ -108,7 +108,7 @@ class OC_Preferences{
}
/**
- * @brief Remove app of user from preferences
+ * Remove app of user from preferences
* @param string $user user
* @param string $app app
* @return bool
@@ -121,7 +121,7 @@ class OC_Preferences{
}
/**
- * @brief Remove user from preferences
+ * Remove user from preferences
* @param string $user user
* @return bool
*
@@ -133,7 +133,7 @@ class OC_Preferences{
}
/**
- * @brief Remove app from all users
+ * Remove app from all users
* @param string $app app
* @return bool
*