From 5978fcb6013b4448894801c223437cfd4cfa7d47 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 4 Oct 2008 15:42:18 -0400 Subject: [PATCH] fix deleted function after synch from Zach darcs-hash:20081004194218-5ed1f-efd9e82c9f78e19185d8ef6b626f46c5ae6613db.gz --- classes/User.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/classes/User.php b/classes/User.php index ce7632ec5b..25caf03585 100644 --- a/classes/User.php +++ b/classes/User.php @@ -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