Update action.php

Removed enwanted 'break'
This commit is contained in:
Simon DELAGE 2015-06-20 18:36:20 +02:00
parent d9a64b6b0b
commit 5599cac7f5

View file

@ -133,8 +133,6 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{
} elseif ((page_exists($this->private_page)) && (((!isset($_GET['id'])) or (in_array($_GET['id'], $wikistart))) && (time()-$_SESSION["uhptimestamp"] <= 2))) { } elseif ((page_exists($this->private_page)) && (((!isset($_GET['id'])) or (in_array($_GET['id'], $wikistart))) && (time()-$_SESSION["uhptimestamp"] <= 2))) {
// send_redirect(wl($this->private_page)); // send_redirect(wl($this->private_page));
send_redirect(wl($this->private_page, '', true)); send_redirect(wl($this->private_page, '', true));
} else {
break;
} }
} }
} }