From: Evan Prodromou Date: Thu, 2 Oct 2008 14:46:28 +0000 (-0400) Subject: remove unused helper function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f290ae348a372614ff3184c03edb157a26fa4032;p=quix0rs-gnu-social.git remove unused helper function darcs-hash:20081002144628-5ed1f-0cf7909fd15d5361d391a9bcde723585d83e5ed3.gz --- diff --git a/classes/User.php b/classes/User.php index 4242d01091..a8862ddad2 100644 --- a/classes/User.php +++ b/classes/User.php @@ -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