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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);