/** * Prefetch the following keys if local cache is enabled, otherwise don't do anything * * @author Władysław Bodzek <*****@*****.**> * @param $keys array List of keys to prefetch */ public function prefetch($keys) { global $wgEnableMemcachedBulkMode; if (empty($wgEnableMemcachedBulkMode)) { parent::prefetch($keys); } $this->getMultiInternal($keys, false); }