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

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')) { ...@@ -475,13 +475,13 @@ if (!defined('INSTALLER')) {
} }
} }
} }
}
// Make sure that multirecipient notifications is installed and active // Make sure that multirecipient notifications is installed and active
safe_require('module', 'multirecipientnotification'); safe_require('module', 'multirecipientnotification');
if (!PluginModuleMultirecipientnotification::is_active()) { if (!PluginModuleMultirecipientnotification::is_active()) {
throw new ConfigSanityException(get_string('multirecipientnotificationnotenabled', throw new ConfigSanityException(get_string('multirecipientnotificationnotenabled',
'module.multirecipientnotification')); 'module.multirecipientnotification'));
}
} }
} }
......
Supports Markdown
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