Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12675] Fix code sniffer complaints introduced by recent commits
This commit is contained in:
Andreas Fischer 2014-06-09 02:38:35 +02:00
commit 31abf1ab02
2 changed files with 2 additions and 2 deletions

View file

@ -1401,7 +1401,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
// no break;
}
if (!isset($username_string))
{
if (($mode == 'full' && !$profile_url) || $mode == 'no_profile')

View file

@ -655,7 +655,7 @@ class mcp_queue
if (!$post_data['topic_posts_approved'])
{
$phpbb_notifications->delete_notifications('topic_in_queue', $post_data['topic_id']);
if ($post_data['post_visibility'] == ITEM_UNAPPROVED)
{
$phpbb_notifications->add_notifications(array('topic'), $post_data);