From cd70db7976f43d01cd3cd41467c09f85298d447b Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 4 Nov 2003 22:05:38 +0000 Subject: new permissions, merged attachment tables (the intended purpose of two tables is no longer valid), attachment updates along the merging... Note: please merge your attachment tables (develop dir). git-svn-id: file:///svn/phpbb/trunk@4637 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/admin_forums.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/adm/admin_forums.php') diff --git a/phpBB/adm/admin_forums.php b/phpBB/adm/admin_forums.php index ee88d4d0f5..f30d63eb83 100644 --- a/phpBB/adm/admin_forums.php +++ b/phpBB/adm/admin_forums.php @@ -1307,6 +1307,8 @@ function delete_forum_content($forum_id) switch (SQL_LAYER) { case 'mysql4': + // Use delete_attachments('topic', $ids, false) here... + // Select then delete all attachments $sql = 'SELECT d.physical_filename, d.thumbnail FROM ' . POSTS_TABLE . ' p, ' . ATTACHMENTS_DESC_TABLE . ' d, ' . ATTACHMENTS_TABLE . " a -- cgit v1.2.1