summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/auth.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-13 13:00:41 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-13 13:00:41 -0800
commitdcd7a8fbb8924665a07582aa53f07a86ef922287 (patch)
treed8c979b9dc72b3de943ec25dc883f25bde1750c6 /modules/gallery/helpers/auth.php
parent650845eddaad250374330a14c47cda62bf41f20a (diff)
parent36702b1397dcac9ba5a607f62e2a1caeb307ac7a (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/helpers/auth.php')
-rw-r--r--modules/gallery/helpers/auth.php14
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