diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-08-27 16:31:54 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-08-27 16:31:54 +0000 |
commit | 6225256418c127806f2c3d8a0ca0fe448b74c1c4 (patch) | |
tree | f6234c61eb8c304df981e875219b13f59dc59f24 /phpBB/includes/functions_admin.php | |
parent | 2c9b17ba48923df1d66d1b571dc92fa0db505374 (diff) | |
download | forums-6225256418c127806f2c3d8a0ca0fe448b74c1c4.tar forums-6225256418c127806f2c3d8a0ca0fe448b74c1c4.tar.gz forums-6225256418c127806f2c3d8a0ca0fe448b74c1c4.tar.bz2 forums-6225256418c127806f2c3d8a0ca0fe448b74c1c4.tar.xz forums-6225256418c127806f2c3d8a0ca0fe448b74c1c4.zip |
bah, group handling needs some further discussion ... I'm done with it for M-2
git-svn-id: file:///svn/phpbb/trunk@4440 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 34 |
1 files changed, 14 insertions, 20 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 503ede56ca..d4da25127b 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -1,23 +1,15 @@ <?php -/*************************************************************************** - * functions_admin.php - * ------------------- - * begin : Saturday, Feb 13, 2001 - * copyright : © 2001 The phpBB Group - * email : support@phpbb.com - * - * $Id$ - * - ***************************************************************************/ - -/*************************************************************************** - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - ***************************************************************************/ +// ------------------------------------------------------------- +// +// $Id$ +// +// FILENAME : functions_admin.php +// STARTED : Sat Feb 13, 2001 +// COPYRIGHT : © 2001,2003 phpBB Group +// WWW : http://www.phpbb.com/ +// LICENCE : GPL vs2.0 [ see /docs/COPYING ] +// +// ------------------------------------------------------------- // Simple version of jumpbox, just lists authed forums function make_forum_select($select_id = false, $ignore_id = false, $ignore_acl = false, $ignore_nonpost = false, $ignore_emptycat = true) @@ -1362,7 +1354,7 @@ function split_sql_file($sql, $delimiter) // and group names must be carried through for the moderators table function cache_moderators() { - global $db; + global $db, $cache; // Clear table $sql = (SQL_LAYER != 'sqlite') ? 'TRUNCATE ' . MODERATOR_TABLE : 'DELETE FROM ' . MODERATOR_TABLE; @@ -1448,6 +1440,8 @@ function cache_moderators() } } } + + $cache->destroy(MODERATOR_TABLE); } // Logging functions |