less passing of $page

This commit is contained in:
Shish
2012-02-15 08:59:24 +00:00
parent c70d81c97d
commit c2bf42ef5a
15 changed files with 33 additions and 17 deletions

View File

@@ -188,7 +188,7 @@ class Setup extends Extension {
if($event->page_matches("setup")) {
if(!$user->can("change_setting")) {
$this->theme->display_permission_denied($page);
$this->theme->display_permission_denied();
}
else {
if($event->get_arg(0) == "save" && $user->check_auth_token()) {