aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-06-25 17:57:57 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-06-25 17:57:57 +0000
commit1c0df0dc91dcfb603cfb653e7daaf03257ac5495 (patch)
tree1e5bf26e024dcebd26de48522d91f93264d5a5fa /phpBB/search.php
parent7ca31ace1a023c910470208abec219b1c03923ac (diff)
downloadforums-1c0df0dc91dcfb603cfb653e7daaf03257ac5495.tar
forums-1c0df0dc91dcfb603cfb653e7daaf03257ac5495.tar.gz
forums-1c0df0dc91dcfb603cfb653e7daaf03257ac5495.tar.bz2
forums-1c0df0dc91dcfb603cfb653e7daaf03257ac5495.tar.xz
forums-1c0df0dc91dcfb603cfb653e7daaf03257ac5495.zip
revert r9653 because it does not work as advertised (a load of bugs and not really what we wanted... back to the drawing board ;))
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9674 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index e5fd852e0d..5e2a7c2836 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -348,7 +348,6 @@ if ($keywords || $author || $author_id || $search_id || $submit)
break;
case 'newposts':
- case 'unreadposts':
$l_search_title = $user->lang['SEARCH_NEW'];
// force sorting
$show_results = (request_var('sr', 'topics') == 'posts') ? 'posts' : 'topics';
@@ -804,10 +803,6 @@ if ($keywords || $author || $author_id || $search_id || $submit)
topic_status($row, $replies, (isset($topic_tracking_info[$forum_id][$row['topic_id']]) && $row['topic_last_post_time'] > $topic_tracking_info[$forum_id][$row['topic_id']]) ? true : false, $folder_img, $folder_alt, $topic_type);
$unread_topic = (isset($topic_tracking_info[$forum_id][$row['topic_id']]) && $row['topic_last_post_time'] > $topic_tracking_info[$forum_id][$row['topic_id']]) ? true : false;
- if ($search_id == 'unreadposts' && !$unread_topic)
- {
- continue;
- }
$topic_unapproved = (!$row['topic_approved'] && $auth->acl_get('m_approve', $forum_id)) ? true : false;
$posts_unapproved = ($row['topic_approved'] && $row['topic_replies'] < $row['topic_replies_real'] && $auth->acl_get('m_approve', $forum_id)) ? true : false;