Quote:
Originally Posted by Boofo
Are you sure? I thought it did.
|
Nope. From the ACP plugin.php code:
PHP Code:
// Run if: code version is * (meaning always run), no version
// previously installed, or if the code is for a newer version
// than is currently installed
if ($code['version'] == '*' OR $installed_version === null OR is_newer_version($code['version'], $installed_version))
{
eval($code['installcode']);
}
It only runs install code on first install, or if you are installing a newer version (and then it only runs the new version's code).
Re-running the current version code on an update would be a bit disasterous for all those install codes that start out with "drop table if exists".
-- hugh