Issue Bug Closed

#23371Provide a reason for logDeprecatedTypoScript()

Steffen Gebert 08/13/10, 20:52 updated 03/29/11, 14:24

Description

Currently there’s no way to give an explanation, when logging usage of a deprecated TypoScript object/property, because it’s implemented the following way:

function logDeprecatedTyposcript($msg) {
  $GLOBALS['TT']->setTSlogMessage($msg . ' is deprecated.', 2);
  t3lib_div::deprecationLog('TypoScript ' . $msg);
}

Because of one time, some text is appended to $msg and one time text is prepended, all the logged entries would make no sense, if you want to provide useful hints.

(issue imported from #M15454)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.