feature_clearPageCache.diff

Urs Weiss, 2012-01-05 15:28

Download (1.35 KB)

View differences:

typo3_src.new/t3lib/class.t3lib_tcemain.php 2012-01-05 14:43:17.000000000 +0100
6571 6571
							}
6572 6572
						}
6573 6573
					} else { // For other tables than "pages", delete cache for the records "parent page".
6574
						$list_cache[] = $pageUid = intval($this->getPID($table, $uid));
6574
						$pid_tmp = intval($this->getPID($table, $uid));
6575
						$list_cache[] = $pageUid = $pid_tmp;
6576

  
6577
							// Add parrent page
6578
						if ($TSConfig['clearCache_pageGrandParent']) {
6579
							$res_tmp = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
6580
                                                                'pid',
6581
                                                                'pages',
6582
                                                                'uid=' . intval($pid_tmp)
6583
                                                        );
6584
                                                        if ($row_tmp = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res_tmp)) {
6585
                                                                $list_cache[] = $row_tmp['pid'];
6586
                                                        }
6587
						}
6575 6588
					}
6576 6589

  
6577 6590
						// Call pre-processing function for clearing of cache for page ids: