]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
pass through keys() as keyTypes() for UserFlag
authorEvan Prodromou <evan@status.net>
Thu, 7 Jan 2010 07:22:49 +0000 (23:22 -0800)
committerEvan Prodromou <evan@status.net>
Thu, 7 Jan 2010 07:22:49 +0000 (23:22 -0800)
plugins/UserFlag/User_flag_profile.php

index 658259452436aae780d56956ffe9841c7bf79391..6bf47071b26b84f2bfdeb9e95b07db7a42634d4c 100644 (file)
@@ -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
      *