summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-12 15:10:34 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-12 15:10:34 -0700
commitc026da85cdbac9e9566045f8de2718cae985f0ec (patch)
treef95a521599d3f5f6c64d28a0c8831b52fdff770a /modules
parentb61b50604bfffc25a395df3a1aedf84d3c557ff4 (diff)
Use "continue_url" instead of "continue" for consistency with the
reauth code.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/controllers/logout.php2
-rw-r--r--modules/gallery/helpers/gallery_event.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/logout.php b/modules/gallery/controllers/logout.php
index 9caafec8..20fa8074 100644
--- a/modules/gallery/controllers/logout.php
+++ b/modules/gallery/controllers/logout.php
@@ -21,7 +21,7 @@ class Logout_Controller extends Controller {
public function index() {
access::verify_csrf();
auth::logout();
- if ($continue_url = Input::instance()->get("continue")) {
+ if ($continue_url = Input::instance()->get("continue_url")) {
url::redirect($continue_url);
}
url::redirect(item::root()->abs_url());
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php
index 1b688843..55db47ce 100644
--- a/modules/gallery/helpers/gallery_event.php
+++ b/modules/gallery/helpers/gallery_event.php
@@ -171,7 +171,7 @@ class gallery_event_Core {
$menu->append(Menu::factory("link")
->id("user_menu_logout")
->css_id("g-logout-link")
- ->url(url::site("logout?csrf=$csrf&amp;continue=" .
+ ->url(url::site("logout?csrf=$csrf&amp;continue_url=" .
urlencode($continue_url)))
->label(t("Logout")));
}