diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-11-04 22:05:38 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-11-04 22:05:38 +0000 |
| commit | cd70db7976f43d01cd3cd41467c09f85298d447b (patch) | |
| tree | 6f583aba6f9176a1e732652f10a928f0ae004c6c /phpBB/adm/admin_forums.php | |
| parent | 88f814a5c57246250a82ad53d43f8f90da5afb60 (diff) | |
| download | forums-cd70db7976f43d01cd3cd41467c09f85298d447b.tar forums-cd70db7976f43d01cd3cd41467c09f85298d447b.tar.gz forums-cd70db7976f43d01cd3cd41467c09f85298d447b.tar.bz2 forums-cd70db7976f43d01cd3cd41467c09f85298d447b.tar.xz forums-cd70db7976f43d01cd3cd41467c09f85298d447b.zip | |
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
Diffstat (limited to 'phpBB/adm/admin_forums.php')
| -rw-r--r-- | phpBB/adm/admin_forums.php | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
