]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
remove unused helper function
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 2 Oct 2008 14:46:28 +0000 (10:46 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 2 Oct 2008 14:46:28 +0000 (10:46 -0400)
darcs-hash:20081002144628-5ed1f-0cf7909fd15d5361d391a9bcde723585d83e5ed3.gz

classes/User.php

index 4242d0109192bfda403b838c55638f1564414ec7..a8862ddad2586f049d0dbe73e3c6b56b063aea75 100644 (file)
@@ -147,19 +147,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