Commit 9c5560df authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1798653: The mesage that prod db is more advanced missing values

Have got the correct values showing now


Change-Id: I9458ba4997de417f13d67e4f7ace04771c31e960
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 213aeb0b
......@@ -336,6 +336,8 @@ if (get_config('installed')) {
$upgradeavailable = $config->version > get_config('version');
if ($config->version < get_config('version')) {
if (get_config('productionmode')) {
$coreversion = get_config('version');
$corerelease = get_config('release');
throw new ConfigSanityException("Database version of Mahara $corerelease ($coreversion) is newer "
. "than files version $config->release ($config->version). "
. "Please make sure you have the correct Mahara files in place.");
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