diff --git a/lib/base.php b/lib/base.php index 56061ba53b..0283f90bbf 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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() { OC_App::loadApps(array('prelogin')); $error = array();