We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a30d34be authored by mattl's avatar mattl

Returnto the previous page when deleting a notice.

parent d98784e0
......@@ -68,10 +68,8 @@ class DeletenoticeAction extends FormAction
Event::handle('EndDeleteOwnNotice', array($this->scoped->getUser(), $this->notice));
} else {
common_redirect(common_get_returnto(), 303);
common_redirect(common_local_url('top'), 303);
common_redirect(common_get_returnto(), 303);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment