mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy
PHPBB3-12721
This commit is contained in:
@@ -496,11 +496,11 @@ function mcp_move_topic($topic_ids)
|
||||
{
|
||||
$topics_moved++;
|
||||
}
|
||||
elseif ($topic_info['topic_visibility'] == ITEM_UNAPPROVED || $topic_info['topic_visibility'] == ITEM_REAPPROVE)
|
||||
else if ($topic_info['topic_visibility'] == ITEM_UNAPPROVED || $topic_info['topic_visibility'] == ITEM_REAPPROVE)
|
||||
{
|
||||
$topics_moved_unapproved++;
|
||||
}
|
||||
elseif ($topic_info['topic_visibility'] == ITEM_DELETED)
|
||||
else if ($topic_info['topic_visibility'] == ITEM_DELETED)
|
||||
{
|
||||
$topics_moved_softdeleted++;
|
||||
}
|
||||
|
@@ -489,7 +489,7 @@ function close_report($report_id_list, $mode, $action, $pm = false)
|
||||
{
|
||||
$redirect = request_var('redirect', build_url(array('mode', 'r', 'quickmod')) . '&mode=reports');
|
||||
}
|
||||
elseif ($action == 'delete' && strpos($user->data['session_page'], 'mode=pm_report_details') !== false)
|
||||
else if ($action == 'delete' && strpos($user->data['session_page'], 'mode=pm_report_details') !== false)
|
||||
{
|
||||
$redirect = request_var('redirect', build_url(array('mode', 'r', 'quickmod')) . '&mode=pm_reports');
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreFile
|
||||
|
||||
//
|
||||
// $Id: sphinxapi.php 3087 2012-01-30 23:07:35Z shodan $
|
||||
|
Reference in New Issue
Block a user