Show
Ignore:
Timestamp:
09/26/07 08:57:31 (14 months ago)
Author:
mdodoo
Message:

Lots of things are still not working, but I think this code is better than what was currently committed ([1639]
should have been reverted, and the person who committed should have had their SVN access pulled, for example).
Created this by grabbing the trunk code and then manually inserting the MU branch's changes in. This is probably
not usable in an actual installation (no support for creating new user accounts yet, for example), but patches are
welcome.

Not sure why I write so much here - I am not sure anyone other than my fellow devs actually read them...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/multiuser/cls/update.php

    r1639 r1759  
    9999        if (!hidePrivate() || $ignorePrivate) { 
    100100            if (count($newIds) > 0 && getConfig('rss.config.markreadonupdate')) { 
    101                 rss_query("update ".getTable("item2user")." i2u set i2u.flgunread = unread & " 
    102                           .SET_MODE_READ_STATE." where unread & ".RSS_MODE_UNREAD_STATE 
    103                           ." and i2u.fkiid not in (".implode(",", $newIds).")"); 
     101                rss_query("update ".getTable("item2user")." i2u set i2u.flgunread = 0" 
     102                    . " where i2u.flgunread=1" 
     103                    ." and i2u.fkiid not in (".implode(",", $newIds).")"); 
    104104            } 
    105105        }