Commit eebc5d0d authored by Evan Prodromou's avatar Evan Prodromou

add keyTypes() for User_greeting_count

parent d5fb88e1
......@@ -105,6 +105,20 @@ class User_greeting_count extends Memcached_DataObject
return array('user_id' => 'K');
}
/**
* return key definitions for Memcached_DataObject
*
* Our caching system uses the same key definitions, but uses a different
* method to get them.
*
* @return array key definitions
*/
function keyTypes()
{
return $this->keys();
}
/**
* Magic formula for non-autoincrementing integer primary keys
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment