Show
Ignore:
Timestamp:
10/16/06 06:31:35 (2 years ago)
Author:
mdodoo
Message:

Sync with trunk up to (but not including changeset [1585]). I should *definitely* do this more often, because this was really annoying.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/multiuser/api.php

    r1275 r1604  
    6666    $sql = "select " 
    6767           ." c.id, c.title, c.url, c.siteurl, f.name " 
    68            ." from ".getTable("channels")." c, " 
    69            .getTable("folders")." f "." where f.id = c.parent"; 
     68           ." from ".getTable("channels")." c " 
     69           . " inner join " . getTable("folders")." f on f.id = c.parent"; 
    7070 
    7171    if (hidePrivate()) { 
     
    135135           ." c.descr as cdescr, c.url as curl, i.author as iauth, i.url as iurl, " 
    136136           ." unix_timestamp(ifnull(i.pubdate, i.added)) as idate ,i.id as iid" 
    137            ." from ".getTable('item')." i, ".getTable('channels') ." c " 
    138            ." where i.cid=c.id and i.unread & ". RSS_MODE_UNREAD_STATE ." and c.id=$cid"; 
     137           ." from ".getTable('item')." i " 
     138           . " inner join ".getTable('channels') ." c " 
     139           ." on i.cid=c.id where i.unread & ". RSS_MODE_UNREAD_STATE ." and c.id=$cid"; 
    139140 
    140141    if ($date) {