From f290ae348a372614ff3184c03edb157a26fa4032 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 2 Oct 2008 10:46:28 -0400 Subject: remove unused helper function darcs-hash:20081002144628-5ed1f-0cf7909fd15d5361d391a9bcde723585d83e5ed3.gz --- classes/User.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'classes/User.php') diff --git a/classes/User.php b/classes/User.php index 4242d0109..a8862ddad 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 -- cgit v1.2.3-54-g00ecf