From eb633ace4fc5e44687298c74f5427fc5a9cd0438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 29 Aug 2007 18:00:05 +0000 Subject: #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 --- modules/system/system.install | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules') 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 @@ -3589,6 +3589,13 @@ function system_update_6030() { return $ret; } +/** + * 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. -- cgit v1.2.3