diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-13 13:00:41 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-13 13:00:41 -0800 |
commit | dcd7a8fbb8924665a07582aa53f07a86ef922287 (patch) | |
tree | d8c979b9dc72b3de943ec25dc883f25bde1750c6 /modules/gallery/helpers/auth.php | |
parent | 650845eddaad250374330a14c47cda62bf41f20a (diff) | |
parent | 36702b1397dcac9ba5a607f62e2a1caeb307ac7a (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/auth.php')
-rw-r--r-- | modules/gallery/helpers/auth.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/gallery/helpers/auth.php b/modules/gallery/helpers/auth.php index 8b0ce470..c3e9e6e9 100644 --- a/modules/gallery/helpers/auth.php +++ b/modules/gallery/helpers/auth.php @@ -130,18 +130,4 @@ class auth_Core { $session->set("admin_area_activity_timestamp", time()); return false; } - - /** - * Returns the themed login page. - */ - static function login_page($continue_url=null) { - $view = new Theme_View("page.html", "other", "login"); - $view->page_title = t("Log in to Gallery"); - $view->content = new View("login_ajax.html"); - $view->content->form = auth::get_login_form("login/auth_html"); - // Avoid anti-phishing protection by passing the url as session variable. - $continue_url or $continue_url = url::current(true); - Session::instance()->set("continue_url", $continue_url); - return $view; - } }
\ No newline at end of file |