Commit 670cc2de authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic

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

Have got the correct values showing now

behatnotneeded

Change-Id: I9458ba4997de417f13d67e4f7ace04771c31e960
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 9c5560df)
parent 90a44b53
......@@ -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.");
......
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