aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-08-12 18:16:01 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-08-12 18:16:01 +0000
commit3f9348bdf8ccc05f251b85caccaf5a241ae011fc (patch)
treefcdf8e6b0365fb836656ca1e3b33810ea95b0166 /phpBB/install/database_update.php
parentca0139c939cf6c781a12035cf90ea49446ced5bc (diff)
downloadforums-3f9348bdf8ccc05f251b85caccaf5a241ae011fc.tar
forums-3f9348bdf8ccc05f251b85caccaf5a241ae011fc.tar.gz
forums-3f9348bdf8ccc05f251b85caccaf5a241ae011fc.tar.bz2
forums-3f9348bdf8ccc05f251b85caccaf5a241ae011fc.tar.xz
forums-3f9348bdf8ccc05f251b85caccaf5a241ae011fc.zip
fix bug with cron execution for all new RC4 installations as well as those having manually updated.
git-svn-id: file:///svn/phpbb/trunk@8022 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index ba4bf5d170..da8f6e9518 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -1483,6 +1483,11 @@ if (version_compare($current_version, '3.0.RC4', '<='))
$db->sql_transaction('commit');
}
+
+ // Setting this here again because new installations may not have it...
+ set_config('cron_lock', '0', true);
+
+ $no_updates = false;
}
_write_result($no_updates, $errored, $error_ary);