Commit aff7ee34 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon
Browse files

Call localpostinst during CLI install as well

Bug 1523713

behatnotneeded: Command-line only

Change-Id: Ib57ce21d110141365ced3730a7b3a4de1c776f3e
parent 75205f36
......@@ -240,6 +240,8 @@ function upgrade_mahara($upgrades) {
}
else if ($install && $name == 'localpostinst') {
// Update local version
$name(array('localdata' => true));
$config = new StdClass;
require(get_config('docroot') . 'local/version.php');
set_config('localversion', $config->version);
......
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