mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
undefined $site causing registerauth to be asked once and again, and again... MDL-16546
eVS: ----------------------------------------------------------------------
This commit is contained in:
parent
4ab65b56df
commit
3bfb1f59cd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user