remove unused noticesWithFriendsWindow from User

darcs-hash:20081022210428-5ed1f-8de35689bfee3b38e6da83328137fb457a0bfdb0.gz
This commit is contained in:
Evan Prodromou 2008-10-22 17:04:28 -04:00
parent 22cb0c5687
commit 894496f0e8

View File

@ -141,18 +141,6 @@ class User extends Memcached_DataObject
return true; 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) { static function register($fields) {
# MAGICALLY put fields into current scope # MAGICALLY put fields into current scope