summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-25 08:10:28 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-25 08:10:28 -0800
commit6023f2bb46598f9da096d63f7ab1dfb914eab6f7 (patch)
treee90aabbe605f36cc4e020d8c375d75e2feb169e6 /modules/gallery/controllers
parent445295a1ed8eb7dfc1caacfcb4211c312daaf257 (diff)
Remove the return url and change the return button on the user profile page to use javascript to return to the previous page.
Diffstat (limited to 'modules/gallery/controllers')
-rw-r--r--modules/gallery/controllers/user_profile.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/controllers/user_profile.php b/modules/gallery/controllers/user_profile.php
index 53c76a48..a0e6619e 100644
--- a/modules/gallery/controllers/user_profile.php
+++ b/modules/gallery/controllers/user_profile.php
@@ -33,7 +33,6 @@ class User_Profile_Controller extends Controller {
$v->content->user = $user;
$v->content->not_current = !$is_current_active;
$v->content->editable = identity::is_writable() && $display_all;
- $v->content->return = SafeString::of(Input::instance()->get("return"));
$event_data = (object)array("user" => $user, "display_all" => $display_all, "content" => array());
module::event("show_user_profile", $event_data);