diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-12 22:16:27 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-12 22:16:27 +0000 |
commit | 298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (patch) | |
tree | 68b06c337a4b20fe2bfba66732085d66fe9c1e12 /phpBB/cron.php | |
parent | 4a0ddb9dfbe76f0e074d85a417541591ec25daa6 (diff) | |
download | forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.gz forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.bz2 forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.xz forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.zip |
- get swatch converted into new acp format
- add page title to ucp pages
- add ability to supress getting the who is online list in page_header() (saves us ideally 1-2 queries on ucp/mcp pages)
- fixing pm rules a bit as well as now having complete author memberships for author_in_group (sender -> is in usergroup -> xxx)
git-svn-id: file:///svn/phpbb/trunk@6054 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r-- | phpBB/cron.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php index 7fe4ae7da6..9f2c59966c 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -207,6 +207,15 @@ switch ($cron_type) break; } +// Unload cache, must be done before the DB connection is closed +if (!empty($cache)) +{ + $cache->unload(); +} + +// Close our DB connection. +$db->sql_close(); + // Output transparent gif header('Cache-Control: no-cache'); header('Content-type: image/gif'); |