diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-10-28 00:16:18 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-10-28 00:16:18 +0200 |
commit | b5d36645f2f6819d9458550bda399f981c173977 (patch) | |
tree | d022681b472052ab2b0a70e03fbd9ca63f4a7f3f /phpBB/includes/acp/acp_forums.php | |
parent | 41bafd4d7d639ae4e27e5467a4077cdd8f4e88c4 (diff) | |
parent | 35c9357d2f951918c98e74e2d58739075fe523f5 (diff) | |
download | forums-b5d36645f2f6819d9458550bda399f981c173977.tar forums-b5d36645f2f6819d9458550bda399f981c173977.tar.gz forums-b5d36645f2f6819d9458550bda399f981c173977.tar.bz2 forums-b5d36645f2f6819d9458550bda399f981c173977.tar.xz forums-b5d36645f2f6819d9458550bda399f981c173977.zip |
Merge pull request #5402 from 3D-I/ticket/15825
[ticket/15825] Add core.acp_manage_forums_move_content_sql_before
Diffstat (limited to 'phpBB/includes/acp/acp_forums.php')
-rw-r--r-- | phpBB/includes/acp/acp_forums.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php index 13d74f0811..be5a7a2f26 100644 --- a/phpBB/includes/acp/acp_forums.php +++ b/phpBB/includes/acp/acp_forums.php @@ -1541,6 +1541,16 @@ class acp_forums $table_ary = array(LOG_TABLE, POSTS_TABLE, TOPICS_TABLE, DRAFTS_TABLE, TOPICS_TRACK_TABLE); + /** + * Perform additional actions before move forum content + * + * @event core.acp_manage_forums_move_content_sql_before + * @var array table_ary Array of tables from which forum_id will be updated + * @since 3.2.4-RC1 + */ + $vars = array('table_ary'); + extract($phpbb_dispatcher->trigger_event('core.acp_manage_forums_move_content_sql_before', compact($vars))); + foreach ($table_ary as $table) { $sql = "UPDATE $table |