Changeset 1467
- Timestamp:
- 05/11/06 16:17:09 (2 years ago)
- Files:
-
- 1 modified
-
trunk/rss/feed.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rss/feed.php
r1463 r1467 67 67 } 68 68 // hide deprecated 69 $sql .= " and not(mode & " . RSS_MODE_DELETED_STATE . ") "; 69 // mbi: don't actually: we want items of deprecated feeds to be accessible, still. 70 //$sql .= " and not(mode & " . RSS_MODE_DELETED_STATE . ") "; 70 71 71 72 $res = rss_query( $sql ); … … 157 158 158 159 $sql .=" and not(i.unread & " . RSS_MODE_DELETED_STATE .") "; 159 160 160 $sql .=" order by i.added desc, i.id asc"; 161 161 … … 181 181 $sql = "select c.id from ". getTable('channels')." c " 182 182 ." where c.parent=$fid and c.parent > 0"; 183 $sql .= " and not(c.mode & " . RSS_MODE_DELETED_STATE .") ";183 //$sql .= " and not(c.mode & " . RSS_MODE_DELETED_STATE .") "; 184 184 185 185 if (hidePrivate()) { … … 205 205 $sql .= "and t.tag like '$vfid'"; 206 206 } 207 $sql .= " and not(c.mode & " . RSS_MODE_DELETED_STATE .") ";207 //$sql .= " and not(c.mode & " . RSS_MODE_DELETED_STATE .") "; 208 208 209 209 if (hidePrivate()) { … … 322 322 ." where i.unread & " .RSS_MODE_UNREAD_STATE 323 323 ." and i.cid=$cid" 324 ." and not(i.unread & " . RSS_MODE_DELETED_STATE .") "; 324 //." and not(i.unread & " . RSS_MODE_DELETED_STATE .") " 325 ; 325 326 if (hidePrivate()) { 326 327 $sql .=" and not(i.unread & " . RSS_MODE_PRIVATE_STATE .") "; … … 347 348 . getTable('channels') . " c, " 348 349 . getTable('folders') . " f " 349 . "where c.parent=f.id and not (c.mode & " . RSS_MODE_DELETED_STATE .") "; 350 . "where c.parent=f.id " 351 ." and not (c.mode & " . RSS_MODE_DELETED_STATE .") " 352 ; 350 353 if (hidePrivate()) { 351 354 $sql .= " and not (c.mode & " . RSS_MODE_PRIVATE_STATE . ") "; … … 683 686 $res = rss_query ("select c.title, c.icon, i.title from " . getTable("channels") ." c, " 684 687 .getTable("item") ." i where c.id = $cid and i.cid=c.id and i.id=$iid" 685 ." and not(i.unread & " . RSS_MODE_DELETED_STATE .") "688 //." and not(i.unread & " . RSS_MODE_DELETED_STATE .") " 686 689 ); 687 690 … … 1182 1185 $sql .=" and not(c.mode & " . RSS_MODE_PRIVATE_STATE .") "; 1183 1186 } 1184 $sql .= " and not(c.mode & " . RSS_MODE_DELETED_STATE .") ";1187 //$sql .= " and not(c.mode & " . RSS_MODE_DELETED_STATE .") "; 1185 1188 1186 1189 if (getConfig('rss.config.absoluteordering')) {
