Removed unused deprecated methods

This commit is contained in:
Roeland Jago Douma 2015-12-17 15:31:04 +01:00
parent 835911bce5
commit 9201b9713e

View file

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