throw new Exception( "$path does not exist!" );
}
// @codeCoverageIgnoreStart
- if ( !$mtime ) {
+ if ( $mtime === false ) {
$err = error_get_last();
throw new Exception( "Couldn't stat $path: {$err['message']}" );
// @codeCoverageIgnoreEnd
// been loaded
$cacheId = ObjectCache::detectLocalServerCache();
$cache = ObjectCache::newFromId( $cacheId );
- } catch ( MWException $e ) {
+ } catch ( InvalidArgumentException $e ) {
$cache = new EmptyBagOStuff();
}
// See if this queue is in APC