]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix deleted function after synch from Zach
authorEvan Prodromou <evan@controlyourself.ca>
Sat, 4 Oct 2008 19:42:18 +0000 (15:42 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Sat, 4 Oct 2008 19:42:18 +0000 (15:42 -0400)
darcs-hash:20081004194218-5ed1f-efd9e82c9f78e19185d8ef6b626f46c5ae6613db.gz

classes/User.php

index ce7632ec5bfe655c5eaba5032b874af24d45ebd1..25caf03585cd2863781db4eb3d9378259ab049bb 100644 (file)
@@ -141,19 +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