+2009-07-16 Francois Suter <francois@typo3.org>
+
+ * Bug #11249: Abusive deprecation logging in tslib_content::getData()
+
2009-07-15 Francois Suter <francois@typo3.org>
* Cleanup #11408: Object Browser uses hardcoded texts (plus some CGL cleanup) (thanks to Christopher Stelmaszyk)
$parts = explode(':',$secVal,2);
$key = trim($parts[1]);
if ((string)$key!='') {
- switch(strtolower(trim($parts[0]))) {
+ $type = strtolower(trim($parts[0]));
+ switch($type) {
case 'gp':
case 'gpvar':
list($firstKey, $rest) = explode('|', $key, 2);
// Check that output is not an array:
if (is_array($retVal)) $retVal = '';
}
- t3lib_div::deprecationLog('Using gpvar in TypoScript getText is deprecated since TYPO3 4.3 - Use gp instead of gpvar.');
+ if ($type == 'gpvar') {
+ t3lib_div::deprecationLog('Using gpvar in TypoScript getText is deprecated since TYPO3 4.3 - Use gp instead of gpvar.');
+ }
break;
case 'tsfe':
$retVal = $this->getGlobal ('TSFE|'.$key);