Merge "Exclude redirects from Special:Fewestrevisions"
[lhc/web/wiklou.git] / includes / libs / objectcache / WinCacheBagOStuff.php
index d75b344..0e4e3fb 100644 (file)
  *
  * @ingroup Cache
  */
-class WinCacheBagOStuff extends BagOStuff {
+class WinCacheBagOStuff extends MediumSpecificBagOStuff {
        protected function doGet( $key, $flags = 0, &$casToken = null ) {
                $casToken = null;
 
                $blob = wincache_ucache_get( $key );
-               if ( !is_string( $blob ) ) {
+               if ( !is_string( $blob ) && !is_int( $blob ) ) {
                        return false;
                }