]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove obsolete function login()
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 2 Oct 2013 12:49:14 +0000 (14:49 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 2 Oct 2013 12:49:14 +0000 (14:49 +0200)
lib/base.php

index 56061ba53b3176654776354420048748f605d527..0283f90bbfed56bab995229506a00573e65e08b3 100644 (file)
@@ -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();