* @return bool success
*/
public function unlock( $key ) {
- /* stub */
- return true;
+ return $this->delete( "{$key}:lock" );
}
- /**
- * @todo: what is this?
- * @return Array
- */
- public function keys() {
- /* stub */
- return array();
- }
-
/**
* Delete all objects expiring before a certain date.
* @param $date string The reference date in MW format