diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-29 18:00:05 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-08-29 18:00:05 +0000 |
commit | eb633ace4fc5e44687298c74f5427fc5a9cd0438 (patch) | |
tree | 278e939eed5f0ec31c4cae0bc65b4a90b8301d72 | |
parent | da3c19b36c5b45cd2a395e5930fce27f04460918 (diff) | |
download | brdo-eb633ace4fc5e44687298c74f5427fc5a9cd0438.tar.gz brdo-eb633ace4fc5e44687298c74f5427fc5a9cd0438.tar.bz2 |
#149567 by chx and meba: set install_task variable to 'done' on update, so installer cannot be run on Drupal 6 on an upgraded site
-rw-r--r-- | modules/system/system.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 46e2a6fd6..fb1481e7a 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3590,6 +3590,13 @@ function system_update_6030() { } /** + * Ensure that installer cannot be run again after updating from Drupal 5.x to 6.x + */ +function system_update_6031() { + variable_set('install_task', 'done'); +} + +/** * @} End of "defgroup updates-5.x-to-6.x" * The next series of updates should start at 7000. */ |