]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
remove unused noticesWithFriendsWindow from User
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 22 Oct 2008 21:04:28 +0000 (17:04 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 22 Oct 2008 21:04:28 +0000 (17:04 -0400)
darcs-hash:20081022210428-5ed1f-8de35689bfee3b38e6da83328137fb457a0bfdb0.gz

classes/User.php

index 036da2b8881ff754e05cefa3565b1ebc2407ad8f..25caf03585cd2863781db4eb3d9378259ab049bb 100644 (file)
@@ -141,18 +141,6 @@ class User extends Memcached_DataObject
                return true;
        }
 
-       function noticesWithFriendsWindow() {
-               
-               $notice = new Notice();
-
-               $notice->query('SELECT notice.* ' .
-                                          'FROM notice JOIN subscription on notice.profile_id = subscription.subscribed ' .
-                                          'WHERE subscription.subscriber = ' . $this->id . ' ' .
-                                          'ORDER BY created DESC, notice.id DESC ' .
-                                          'LIMIT 0, ' . WITHFRIENDS_CACHE_WINDOW);
-               
-       }
-       
        static function register($fields) {
 
                # MAGICALLY put fields into current scope