summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-06-13 11:40:31 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-06-13 11:41:52 +0200
commitb625808123f9b91b9803f98f818d5745bd7692cc (patch)
tree2a06f14db6042b640c24d2136969feba5952cbdd /inc/actions.php
parent0181f02104c2e7068dfe8d66353cf8502e34a379 (diff)
downloadrpg-b625808123f9b91b9803f98f818d5745bd7692cc.tar.gz
rpg-b625808123f9b91b9803f98f818d5745bd7692cc.tar.bz2
msgs are saved in send_redirect now, less code duplication needed
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 4b5bfdb1a..b447b65e1 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -387,16 +387,6 @@ function act_revert($act){
function act_redirect($id,$preact){
global $PRE;
global $TEXT;
- global $MSG;
-
- //are there any undisplayed messages? keep them in session for display
- //on the next page
- if(isset($MSG) && count($MSG)){
- //reopen session, store data and close session again
- @session_start();
- $_SESSION[DOKU_COOKIE]['msg'] = $MSG;
- session_write_close();
- }
$opts = array(
'id' => $id,