remove obsolete function login()
This commit is contained in:
parent
0d7c36c9f1
commit
8c77cd1901
|
@ -745,14 +745,6 @@ class OC {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function login($params) {
|
|
||||||
if (OC_User::isLoggedIn()) {
|
|
||||||
header("Location: " . OC::$WEBROOT . '/');
|
|
||||||
exit();
|
|
||||||
}
|
|
||||||
self::handleLogin();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected static function handleLogin() {
|
protected static function handleLogin() {
|
||||||
OC_App::loadApps(array('prelogin'));
|
OC_App::loadApps(array('prelogin'));
|
||||||
$error = array();
|
$error = array();
|
||||||
|
|
Loading…
Reference in New Issue