Bug #28061
Section about deprecation not complete
| Status: | Resolved | Start date: | 2011-07-09 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Chris topher | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
There is no information about the necessary call to t3lib_div::logDeprecatedFunction() and where to put it (right after the beginning of the method)
History
Updated by Rutishauser Katrin almost 2 years ago
Rutishauser Katrin wrote:
There is no information about the necessary call to t3lib_div::logDeprecatedFunction() and where to put it (right after the beginning of the method)
Would be really helpful to have it there
Updated by Chris topher 16 days ago
- Status changed from New to Resolved
- Assignee set to Chris topher
- % Done changed from 0 to 100
I just added this information in one of the last commits.
At the beginning of the deprecated function you should add a call to GeneralUtility::logDeprecatedFunction() and provide a helpful deprecation message:
\TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction('This function is deprecated since TYPO3 6.X. Please use xyz instead by doing...');