Merge "Removed useless keys() function from BagOStuff."
authorDemon <chadh@wikimedia.org>
Mon, 14 Jan 2013 11:48:31 +0000 (11:48 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 14 Jan 2013 11:48:31 +0000 (11:48 +0000)
1  2 
includes/objectcache/APCBagOStuff.php
includes/objectcache/BagOStuff.php
includes/objectcache/DBABagOStuff.php
includes/objectcache/HashBagOStuff.php
includes/objectcache/SqlBagOStuff.php
includes/objectcache/WinCacheBagOStuff.php

Simple merge
@@@ -195,18 -92,10 +195,9 @@@ abstract class BagOStuff 
         * @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
Simple merge
Simple merge