Add protection to request some module to be on for AllTests
This commit is contained in:
parent
be4ad5460e
commit
6b15cafb4e
@ -38,6 +38,11 @@ if ($langs->defaultlang != 'en_US')
|
|||||||
print "Error: Default language for company to run tests must be set to en_US or auto. Current is ".$langs->defaultlang."\n";
|
print "Error: Default language for company to run tests must be set to en_US or auto. Current is ".$langs->defaultlang."\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
if (! empty($conf->adherents->enabled))
|
||||||
|
{
|
||||||
|
print "Error: Module member must be enabled to have significatn results.\n";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
if (! empty($conf->google->enabled))
|
if (! empty($conf->google->enabled))
|
||||||
{
|
{
|
||||||
print "Warning: Google module should not be enabled.\n";
|
print "Warning: Google module should not be enabled.\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user