Commit 64fc6434 authored by Robert Lyon's avatar Robert Lyon

Bug 1781527: Only check activity module when site is installed

behatnotneeded

Change-Id: I30a12186172724657068790cc7ccb88a07e33573
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 9614ed8b
......@@ -475,13 +475,13 @@ if (!defined('INSTALLER')) {
}
}
}
}
// Make sure that multirecipient notifications is installed and active
safe_require('module', 'multirecipientnotification');
if (!PluginModuleMultirecipientnotification::is_active()) {
throw new ConfigSanityException(get_string('multirecipientnotificationnotenabled',
'module.multirecipientnotification'));
// Make sure that multirecipient notifications is installed and active
safe_require('module', 'multirecipientnotification');
if (!PluginModuleMultirecipientnotification::is_active()) {
throw new ConfigSanityException(get_string('multirecipientnotificationnotenabled',
'module.multirecipientnotification'));
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment