mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #65472
[Bug 1964515] Re: validate_plugin() in wrong location
** Changed in: mahara
Status: New => Confirmed
** Tags added: code-cleanup
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1964515
Title:
validate_plugin() in wrong location
Status in Mahara:
Confirmed
Bug description:
The function validate_plugin() is currently in htdocs/lib/upgrade.php.
This function is used in many places throughout the codebase and
upgrade.php needs to be required just for access to it.
Moving this to init.php would make it available everywhere. There may
be better places, but this would be the first spot that comes to mind.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1964515/+subscriptions
References