aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_forums.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_forums.php')
-rw-r--r--phpBB/includes/acp/acp_forums.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php
index 39bc7e39ad..c6dbf5eb9c 100644
--- a/phpBB/includes/acp/acp_forums.php
+++ b/phpBB/includes/acp/acp_forums.php
@@ -1036,17 +1036,14 @@ class acp_forums
}
unset($forum_data_sql['forum_password_unset']);
- $is_new_forum = !isset($forum_data_sql['forum_id']);
-
/**
* Remove invalid values from forum_data_sql that should not be updated
*
* @event core.acp_manage_forums_update_data_before
* @var array forum_data Array with forum data
* @var array forum_data_sql Array with data we are going to update
- * @var bool is_new_forum Do we create a forum or update one
- * If you want to overwrite this value,
- * ensure to set forum_data_sql[forum_id]
+ * If forum_data_sql[forum_id] is set, we update
+ * that forum, otherwise a new one is created.
* @since 3.1-A1
*/
$vars = array('forum_data', 'forum_data_sql');