MDL-15544 Disable email signup in new installation - add danger warning

This commit is contained in:
skodak 2008-07-04 23:53:13 +00:00
parent f8f817b73d
commit e9180ff830
4 changed files with 22 additions and 11 deletions

View file

@ -523,6 +523,8 @@
/// check that site is properly customized
if (empty($site->shortname)) {
// probably new installation - lets return to frontpage after this step
// remove settings that we want uninitialised
unset_config('registerauth');
redirect('upgradesettings.php?return=site');
}