Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
9201b971
Commit
9201b971
authored
Dec 17, 2015
by
Roeland Jago Douma
Browse files
Removed unused deprecated methods
parent
835911bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/user.php
View file @
9201b971
...
...
@@ -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
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment