undefined $site causing registerauth to be asked once and again, and again... MDL-16546
eVS: ----------------------------------------------------------------------
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user