Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation: #80513 - DataHandler: Various methods and method arguments #762

Closed
sabbelasichon opened this issue Nov 4, 2019 · 2 comments · Fixed by #1637
Closed

Deprecation: #80513 - DataHandler: Various methods and method arguments #762

sabbelasichon opened this issue Nov 4, 2019 · 2 comments · Fixed by #1637

Comments

@sabbelasichon
Copy link
Owner

Deprecation: #80513 - DataHandler: Various methods and method arguments

https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.7/Deprecation-80513-DataHandlerVariousMethodsAndMethodArguments.html

.. include:: ../../Includes.txt

=======================================================================

Deprecation: #80513 - DataHandler: Various methods and method arguments

=======================================================================

See :issue:80513

Description

===========

The method :php:DataHandler->destPathFromUploadFolder() has been marked as deprecated.

The fourth parameter :php:$func of the method :php:DataHandler->extFileFunctions() has been deprecated.

Impact

======

Calling the method :php:DataHandler->destPathFromUploadFolder() will trigger a deprecation log entry.

Calling the method :php:DataHandler->extFileFunctions() with the fourth parameter (usually set to

'deleteAll') will trigger a deprecation log entry.

Affected Installations

======================

Any installation with custom extension logic using the DataHandler and specifically these methods.

Migration

=========

Replace the function call :php:DataHandler->destPathFromUploadFolder() by prepend the

constant :php:PATH_site before the string to be handed over to the deprecated method.

Remove the fourth parameter of the callee of :php:DataHandler->extFileFunctions().

.. index:: PHP-API, Backend

@tomasnorre
Copy link
Contributor

Will give this a spin

@sabbelasichon
Copy link
Owner Author

Amazing what you have done so far. Love it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants