Feature #10439 » 10439v4.patch

Marco Bresch, 2011-01-18 15:22

View differences:

Classes/Service/GridData.php (working copy)
175 175
	 * @return void
176 176
	 */
177 177
	protected function initializeWorkspacesCachingFramework() {
178
		if (TYPO3_UseCachingFramework) {
178
		if (TYPO3_UseCachingFramework === TRUE) {
179 179
			try {
180 180
				$GLOBALS['typo3CacheFactory']->create(
181 181
					'workspaces_cache',
......
198 198
	 * @param string $filterTxt The given filter text from the grid.
199 199
	 */
200 200
	protected function setDataArrayIntoCache (array $versions, $filterTxt) {
201
		if (TYPO3_UseCachingFramework) {
201
		if (TYPO3_UseCachingFramework === TRUE) {
202 202
			$hash = $this->calculateHash($versions, $filterTxt);
203 203
			$content = serialize($this->dataArray);
204 204
			
......
216 216
	protected function getDataArrayFromCache (array $versions, $filterTxt) {
217 217
		$cacheEntry = FALSE;
218 218
		
219
		if (TYPO3_UseCachingFramework) {
219
		if (TYPO3_UseCachingFramework === TRUE) {
220 220
			$hash = $this->calculateHash($versions, $filterTxt);
221 221
			
222 222
			$content = $this->workspacesCache->get($hash);
Classes/Service/Tcemain.php (working copy)
149 149
	 * @return void
150 150
	 */
151 151
	protected function flushWorkspaceCacheEntriesByWorkspaceId($workspaceId) {
152
		if (TYPO3_UseCachingFramework) {
152
		if (TYPO3_UseCachingFramework === TRUE) {
153 153
			try {
154 154
				$GLOBALS['typo3CacheFactory']->create(
155 155
					'workspaces_cache',
(4-4/4)