diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-04-14 00:59:28 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2010-05-16 17:47:05 +0200 |
commit | d8b4c0db0cfd8fc4fb655020b7e9743c04d64df9 (patch) | |
tree | ac42f3d54b87b8901a8aa08743ca45ed2a1945e3 /phpBB/includes/functions_admin.php | |
parent | 03d50a2e83cc631779a7574acd4db8b77f29d547 (diff) | |
download | forums-d8b4c0db0cfd8fc4fb655020b7e9743c04d64df9.tar forums-d8b4c0db0cfd8fc4fb655020b7e9743c04d64df9.tar.gz forums-d8b4c0db0cfd8fc4fb655020b7e9743c04d64df9.tar.bz2 forums-d8b4c0db0cfd8fc4fb655020b7e9743c04d64df9.tar.xz forums-d8b4c0db0cfd8fc4fb655020b7e9743c04d64df9.zip |
[ticket/9546] Also delete bookmarks, when a topic is deleted.
PHPBB3-9546
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 93244be55c..13c2acfd24 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -675,7 +675,7 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s $db->sql_transaction('begin'); - $table_ary = array(TOPICS_TRACK_TABLE, TOPICS_POSTED_TABLE, POLL_VOTES_TABLE, POLL_OPTIONS_TABLE, TOPICS_WATCH_TABLE, TOPICS_TABLE); + $table_ary = array(BOOKMARKS_TABLE, TOPICS_TRACK_TABLE, TOPICS_POSTED_TABLE, POLL_VOTES_TABLE, POLL_OPTIONS_TABLE, TOPICS_WATCH_TABLE, TOPICS_TABLE); foreach ($table_ary as $table) { |