Commit 261c275f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Allow local upgrades from command line (bug #844604)



Change-Id: Ia16d7f3e59409838685d5ebee813f83e1f62468f
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 2b141e67
...@@ -235,6 +235,9 @@ function upgrade_mahara($upgrades) { ...@@ -235,6 +235,9 @@ function upgrade_mahara($upgrades) {
if ($name == 'core') { if ($name == 'core') {
$funname = 'upgrade_core'; $funname = 'upgrade_core';
} }
else if ($name == 'local') {
$funname = 'upgrade_local';
}
else { else {
$funname = 'upgrade_plugin'; $funname = 'upgrade_plugin';
} }
......
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