33621_SimpleFileBackend.patch

Mariusz Maroszczyk, 2013-09-30 14:46

Download (844 Bytes)

View differences:

TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/SimpleFileBackend.php (revision )
154 154
		}
155 155

  
156 156
		$cacheEntryPathAndFilename = $this->cacheDirectory . $entryIdentifier . $this->cacheEntryFileExtension;
157
		if (file_exists($temporaryCacheEntryPathAndFilename)) {
157
		rename($temporaryCacheEntryPathAndFilename, $cacheEntryPathAndFilename);
158
			rename($temporaryCacheEntryPathAndFilename, $cacheEntryPathAndFilename);
159
		}
158 160
	}
159 161

  
160 162
	/**