summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-08-14 17:54:23 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-08-14 17:54:23 +0200
commitc1102b1671a711e8c708b8633bb8648c7af28ba8 (patch)
tree0e03a2d07bc7b78cc2ececf9ef17fdd467d651b5 /lib
parent64c3fe670c84b286635bca10fff8383e223f2780 (diff)
parentfd798fd9827d81eb8efc78d6eea688b541262c4e (diff)
downloadnextcloud-server-c1102b1671a711e8c708b8633bb8648c7af28ba8.tar.gz
nextcloud-server-c1102b1671a711e8c708b8633bb8648c7af28ba8.zip
Merge pull request #10417 from owncloud/update_deprecation_doc
update deprecation docs
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php2
-rw-r--r--lib/private/legacy/search.php2
-rw-r--r--lib/private/user.php2
-rw-r--r--lib/public/template.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/base.php b/lib/base.php
index 99c2764d22c..ab1d8e98231 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -279,7 +279,7 @@ class OC {
* check if the instance needs to preform an upgrade
*
* @return bool
- * @deprecated use \OCP\Util::needUpgrade instead
+ * @deprecated use \OCP\Util::needUpgrade() instead
*/
public static function needUpgrade() {
return \OCP\Util::needUpgrade();
diff --git a/lib/private/legacy/search.php b/lib/private/legacy/search.php
index f77b43be2e0..8c348c95869 100644
--- a/lib/private/legacy/search.php
+++ b/lib/private/legacy/search.php
@@ -22,7 +22,7 @@
/**
* provides an interface to all search providers
- * @deprecated see lib/search.php
+ * @deprecated use \OCP\ISearch / \OC\Search instead
*/
class OC_Search {
/**
diff --git a/lib/private/user.php b/lib/private/user.php
index 5efe205ced9..cdef4d8fe65 100644
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -64,7 +64,7 @@ class OC_User {
/**
* registers backend
* @param string $backend name of the backend
- * @deprecated Add classes by calling useBackend with a class instance instead
+ * @deprecated Add classes by calling OC_User::useBackend() with a class instance instead
* @return bool
*
* Makes a list of backends that can be used by other modules
diff --git a/lib/public/template.php b/lib/public/template.php
index b1264e0c3ad..2e265bb5e8e 100644
--- a/lib/public/template.php
+++ b/lib/public/template.php
@@ -97,7 +97,7 @@ function relative_modified_date( $timestamp, $dateOnly = false ) {
/**
* Return a human readable outout for a file size.
- * @deprecated human_file_size() instead
+ * @deprecated use human_file_size() instead
* @param integer $bytes size of a file in byte
* @return string human readable interpretation of a file size
*/