Browse Source

update deprecation docs

tags/v8.0.0alpha1
Jörn Friedrich Dreyer 10 years ago
parent
commit
fd798fd982
4 changed files with 4 additions and 4 deletions
  1. 1
    1
      lib/base.php
  2. 1
    1
      lib/private/legacy/search.php
  3. 1
    1
      lib/private/user.php
  4. 1
    1
      lib/public/template.php

+ 1
- 1
lib/base.php View File

@@ -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();

+ 1
- 1
lib/private/legacy/search.php View File

@@ -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 {
/**

+ 1
- 1
lib/private/user.php View File

@@ -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

+ 1
- 1
lib/public/template.php View File

@@ -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
*/

Loading…
Cancel
Save