diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-11-13 01:38:50 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-11-13 01:38:50 -0500 |
commit | 34528df6d9de96a4447e851704af739d9ea21950 (patch) | |
tree | a69cd594c87e3a8940e0c2734a5d04c27fb7edd4 /classes | |
parent | e0c3bf5a75094937315aa09dd9635833f9eb2925 (diff) |
use correct class for avatar deletion so memcached is updated
darcs-hash:20081113063850-5ed1f-15c314239e2114b52beb7c83b7006b69a48ec5c3.gz
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index a37821e1b..794dc1de9 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -118,7 +118,7 @@ class Profile extends Memcached_DataObject } function delete_avatars() { - $avatar = DB_DataObject::factory('avatar'); + $avatar = new Avatar(); $avatar->profile_id = $this->id; $avatar->find(); while ($avatar->fetch()) { |