mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31933
[Bug 1523713] [NEW] localpostinst() hook function never gets executed, in the CLI installer
Public bug reported:
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.
** Affects: mahara
Importance: Low
Status: In Progress
** Tags: api install local
** Summary changed:
- localpostinst() hook function never gets executed!
+ localpostinst() hook function never gets executed, in the CLI installer
** Description changed:
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. But it
- actually never gets called. The handler for the "localpostinst" step in
- the installer just updates the local version based on what's in
- htdocs/local/version.php
+ 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.
--
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:
In Progress
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
Follow ups