]> git.mjollnir.org Git - moodle.git/commitdiff
undefined $site causing registerauth to be asked once and again, and again... MDL...
authorstronk7 <stronk7>
Thu, 18 Sep 2008 16:49:19 +0000 (16:49 +0000)
committerstronk7 <stronk7>
Thu, 18 Sep 2008 16:49:19 +0000 (16:49 +0000)
eVS: ----------------------------------------------------------------------

admin/index.php

index a6c2b604addd896d8daab9f77e973d0839f981b8..9bd8214514336f02dfb2ae217f64b7b77e84492a 100644 (file)
@@ -84,6 +84,7 @@
     require_capability('moodle/site:config', $context);
 
 /// check that site is properly customized
+    $site = get_site();
     if (empty($site->shortname)) {
         // probably new installation - lets return to frontpage after this step
         // remove settings that we want uninitialised