Permalink
Browse files

MDL-32564 fix admin/timezone.php page setup

  • Loading branch information...
1 parent 14fdcb4 commit 2f76ac636231977c753ea0ccb1401483e36d3672 @skodak skodak committed May 13, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 admin/timezone.php
View
@@ -9,6 +9,9 @@
$zone = clean_param($zone, PARAM_PATH);
}
+ $PAGE->set_url('/admin/timezone.php');
+ $PAGE->set_context(context_system::instance());
+
require_login();
require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));
@@ -18,7 +21,6 @@
$strusers = get_string("users");
$strall = get_string("all");
- $PAGE->set_url('/admin/timezone.php');
$PAGE->set_title($strtimezone);
$PAGE->set_heading($strtimezone);
$PAGE->navbar->add($strtimezone);

0 comments on commit 2f76ac6

Please sign in to comment.