[!!!][TASK] Migrate lowlevel deleted records command to SymfonyConsole 58/50358/13
authorBenni Mack <benni@typo3.org>
Tue, 25 Oct 2016 07:30:03 +0000 (09:30 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 25 Oct 2016 19:46:57 +0000 (21:46 +0200)
commit5bb7eb6e61256678bdcd44dd9c32e1dd24b07119
tree101c5f38caf917d52bea9bb02aa9f8e67df03d36
parenta67d926ec3154145aea0563a82b1a5ee570ce27c
[!!!][TASK] Migrate lowlevel deleted records command to SymfonyConsole

The lowlevel cleaner command for permanently delete records
in the database that have been previously marked as "deleted=1"
in the database is migrated to a Symfony Console command,
reducing the complexity and enhances the readability of the function.

Call it like this:
typo3/sysext/core/bin/typo3 cleanup:deletedrecords --dry-run -vv --pid=49 --depth=4

You can also use "-p" instead of "--pid", or "-d" instead of "--depth".

Resolves: #78417
Releases: master
Change-Id: I79fb2292d96c38c1406896cbe9d0bac6494d1fa9
Reviewed-on: https://review.typo3.org/50358
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Documentation/Changelog/master/Breaking-78417-LowlevelDeletedRecordsCommandParametersChanged.rst [new file with mode: 0644]
typo3/sysext/lowlevel/Classes/Command/DeletedRecordsCommand.php [new file with mode: 0644]
typo3/sysext/lowlevel/Classes/DeletedRecordsCommand.php [deleted file]
typo3/sysext/lowlevel/Configuration/Commands.php
typo3/sysext/lowlevel/ext_localconf.php