mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11672] The json response call exits so the else is not necessary.
PHPBB3-11672
This commit is contained in:
parent
cccb4fb83d
commit
03e78c33fa
1 changed files with 11 additions and 23 deletions
|
@ -692,8 +692,6 @@ class mcp_queue
|
|||
'visible' => true,
|
||||
));
|
||||
}
|
||||
else
|
||||
{
|
||||
$message .= '<br /><br />' . $user->lang('RETURN_PAGE', '<a href="' . $redirect . '">', '</a>');
|
||||
|
||||
// If approving one post, also give links back to post...
|
||||
|
@ -701,8 +699,6 @@ class mcp_queue
|
|||
{
|
||||
$message .= '<br /><br />' . $user->lang('RETURN_POST', '<a href="' . $post_url . '">', '</a>');
|
||||
}
|
||||
}
|
||||
|
||||
trigger_error($message);
|
||||
}
|
||||
else
|
||||
|
@ -836,8 +832,6 @@ class mcp_queue
|
|||
'visible' => true,
|
||||
));
|
||||
}
|
||||
else
|
||||
{
|
||||
$message .= '<br /><br />' . $user->lang('RETURN_PAGE', '<a href="' . $redirect . '">', '</a>');
|
||||
|
||||
// If approving one topic, also give links back to topic...
|
||||
|
@ -845,8 +839,6 @@ class mcp_queue
|
|||
{
|
||||
$message .= '<br /><br />' . $user->lang('RETURN_TOPIC', '<a href="' . $topic_url . '">', '</a>');
|
||||
}
|
||||
}
|
||||
|
||||
trigger_error($message);
|
||||
}
|
||||
else
|
||||
|
@ -1157,11 +1149,7 @@ class mcp_queue
|
|||
'visible' => false,
|
||||
));
|
||||
}
|
||||
else
|
||||
{
|
||||
$message .= '<br /><br />' . $user->lang('RETURN_PAGE', '<a href="' . $redirect . '">', '</a>');
|
||||
}
|
||||
|
||||
trigger_error($message);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue