diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-10-02 10:46:28 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-10-02 10:46:28 -0400 |
commit | f290ae348a372614ff3184c03edb157a26fa4032 (patch) | |
tree | fce78dd71c07ea9c551c5d9cf613ab09a34d1fe5 | |
parent | 3bd710d15322dca2f859382fdee5765b4aa309cb (diff) |
remove unused helper function
darcs-hash:20081002144628-5ed1f-0cf7909fd15d5361d391a9bcde723585d83e5ed3.gz
-rw-r--r-- | classes/User.php | 13 |
1 files changed, 0 insertions, 13 deletions
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 |