mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #34924
[Bug 1523713] Re: localpostinst() hook function never gets executed, in the CLI installer
** Changed in: mahara
Status: Fix Committed => Fix Released
--
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 Released
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