From a50e901f291274c22208a2891271bb50f2aa4ab1 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 28 May 2006 14:58:59 +0000 Subject: - do not allow pruning founders - do not display full path to installation in error message text (only occurence would be "header already sent" warnings) git-svn-id: file:///svn/phpbb/trunk@5975 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_prune.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/acp') diff --git a/phpBB/includes/acp/acp_prune.php b/phpBB/includes/acp/acp_prune.php index c4db029b8d..2214a8c9bd 100644 --- a/phpBB/includes/acp/acp_prune.php +++ b/phpBB/includes/acp/acp_prune.php @@ -250,9 +250,11 @@ class acp_prune $bot_ids[] = $row['user_id']; } $db->sql_freeresult($result); - + + // Do not prune founder members $sql = 'SELECT username, user_id FROM ' . USERS_TABLE . ' - WHERE user_id <> ' . ANONYMOUS . " + WHERE user_id <> ' . ANONYMOUS . ' + AND user_type <> ' . USER_FOUNDER . " $where_sql"; $result = $db->sql_query($sql); -- cgit v1.2.1