From e1c7851a067d4d8201126816884b9992720010f5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 6 Jan 2010 23:22:49 -0800 Subject: [PATCH] pass through keys() as keyTypes() for UserFlag --- plugins/UserFlag/User_flag_profile.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/UserFlag/User_flag_profile.php b/plugins/UserFlag/User_flag_profile.php index 6582594524..6bf47071b2 100644 --- a/plugins/UserFlag/User_flag_profile.php +++ b/plugins/UserFlag/User_flag_profile.php @@ -89,6 +89,17 @@ class User_flag_profile extends Memcached_DataObject return array('profile_id' => 'N', 'user_id' => 'N'); } + /** + * return key definitions for DB_DataObject + * + * @return array key definitions + */ + + function keyTypes() + { + return $this->keys(); + } + /** * Get a single object with multiple keys * -- 2.39.5