Removed unused deprecated methods
This commit is contained in:
parent
835911bce5
commit
9201b9713e
|
@ -75,44 +75,6 @@ class OC_User {
|
||||||
// bool, stores if a user want to access a resource anonymously, e.g if he opens a public link
|
// bool, stores if a user want to access a resource anonymously, e.g if he opens a public link
|
||||||
private static $incognitoMode = false;
|
private static $incognitoMode = false;
|
||||||
|
|
||||||
/**
|
|
||||||
* registers backend
|
|
||||||
*
|
|
||||||
* @param string $backend name of the backend
|
|
||||||
* @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
|
|
||||||
*/
|
|
||||||
public static function registerBackend($backend) {
|
|
||||||
self::$_backends[] = $backend;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gets available backends
|
|
||||||
*
|
|
||||||
* @deprecated
|
|
||||||
* @return array an array of backends
|
|
||||||
*
|
|
||||||
* Returns the names of all backends.
|
|
||||||
*/
|
|
||||||
public static function getBackends() {
|
|
||||||
return self::$_backends;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gets used backends
|
|
||||||
*
|
|
||||||
* @deprecated
|
|
||||||
* @return array an array of backends
|
|
||||||
*
|
|
||||||
* Returns the names of all used backends.
|
|
||||||
*/
|
|
||||||
public static function getUsedBackends() {
|
|
||||||
return array_keys(self::$_usedBackends);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the backend to the list of used backends
|
* Adds the backend to the list of used backends
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue