From 894496f0e87fe198a0271cefdea1396c7c9f685d Mon Sep 17 00:00:00 2001
From: Evan Prodromou <evan@controlyourself.ca>
Date: Wed, 22 Oct 2008 17:04:28 -0400
Subject: [PATCH] remove unused noticesWithFriendsWindow from User

darcs-hash:20081022210428-5ed1f-8de35689bfee3b38e6da83328137fb457a0bfdb0.gz
---
 classes/User.php | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/classes/User.php b/classes/User.php
index 036da2b888..25caf03585 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -141,18 +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
-- 
2.39.5