← Back to team overview

mahara-contributors team mailing list archive

[Bug 1523713] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5824
Committed: https://git.mahara.org/mahara/mahara/commit/aff7ee341bd947756c24c1264a9b1b9926dcb463
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit aff7ee341bd947756c24c1264a9b1b9926dcb463
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Tue Dec 8 12:48:51 2015 +1300

Call localpostinst during CLI install as well

Bug 1523713

behatnotneeded: Command-line only

Change-Id: Ib57ce21d110141365ced3730a7b3a4de1c776f3e

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1523713

Title:
  localpostinst() hook function never gets executed, in the CLI
  installer

Status in Mahara:
  Fix Committed

Bug description:
  In the htdocs/local/install.php file, there is a hook function called
  "localpostinst()". It seems like the intent is that it's a hook method
  for local plugins to do things after Mahara's core installation.

  It does get executed just fine when you're installing Mahara via the
  UI, but installing via the CLI installer it never gets called. The
  handler for the "localpostinst" step in the CLI installer just updates
  the local version based on what's in htdocs/local/version.php

  The matching pre-install hook file, "localpreinst()" *does* get
  called, however.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1523713/+subscriptions


References