summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-10-22 17:04:28 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-10-22 17:04:28 -0400
commit894496f0e87fe198a0271cefdea1396c7c9f685d (patch)
treea10b37c3cb2df343e2144472e561f84ee0fd0386 /classes/User.php
parent22cb0c568736aa53bcde64152d25ba44a1aad4c7 (diff)
remove unused noticesWithFriendsWindow from User
darcs-hash:20081022210428-5ed1f-8de35689bfee3b38e6da83328137fb457a0bfdb0.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/User.php b/classes/User.php
index 036da2b88..25caf0358 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