[CLEANUP] Replace count with empty in multiple extensions, part III 59/40959/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 7 Jul 2015 14:01:47 +0000 (16:01 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 7 Jul 2015 14:29:08 +0000 (16:29 +0200)
commit34ce744657981e2706e4aeba418f0bb6d8cc691b
tree058527ca4b40ccd8ee2b14f6f2ffc576982613a3
parentc973c37daf30c1006d40d8b62c98e204eaa9047a
[CLEANUP] Replace count with empty in multiple extensions, part III

Replace occurences of count() with matching empty() pendants.
Affected extensions:
- scheduler
- sv
- version
- workspaces

Resolves: #67955
Releases: master
Change-Id: I1fd152ed9b581e0f2645837776fd7fab1ccbf73e
Reviewed-on: http://review.typo3.org/40959
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
19 files changed:
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/scheduler/Classes/CronCommand/NormalizeCommand.php
typo3/sysext/scheduler/Classes/Scheduler.php
typo3/sysext/scheduler/Classes/Task/AbstractTask.php
typo3/sysext/scheduler/Classes/Task/TableGarbageCollectionAdditionalFieldProvider.php
typo3/sysext/sv/Classes/Report/ServicesListReport.php
typo3/sysext/version/Classes/DataHandler/CommandMap.php
typo3/sysext/version/Classes/Dependency/ElementEntity.php
typo3/sysext/version/Classes/Hook/DataHandlerHook.php
typo3/sysext/version/Classes/Hook/PreviewHook.php
typo3/sysext/version/Classes/Utility/WorkspacesUtility.php
typo3/sysext/workspaces/Classes/Controller/PreviewController.php
typo3/sysext/workspaces/Classes/ExtDirect/ActionHandler.php
typo3/sysext/workspaces/Classes/ExtDirect/MassActionHandler.php
typo3/sysext/workspaces/Classes/ExtDirect/PagetreeCollectionsProcessor.php
typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
typo3/sysext/workspaces/Classes/Service/GridDataService.php
typo3/sysext/workspaces/Classes/Service/StagesService.php
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php