From 34528df6d9de96a4447e851704af739d9ea21950 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 13 Nov 2008 01:38:50 -0500 Subject: [PATCH] use correct class for avatar deletion so memcached is updated darcs-hash:20081113063850-5ed1f-15c314239e2114b52beb7c83b7006b69a48ec5c3.gz --- classes/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Profile.php b/classes/Profile.php index a37821e1be..794dc1de93 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()) { -- 2.39.5