[CLEANUP] Replace count with empty in multiple extensions 85/40685/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 27 Jun 2015 11:53:15 +0000 (13:53 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 3 Jul 2015 20:35:44 +0000 (22:35 +0200)
commitb551dde898d4497a6c6a5702155c3b874ccda293
tree4c3027d67f7150b1adfdb057a9723185735d0a2a
parente94b024c9ceb564aacabcec9220c80bb568bf8e8
[CLEANUP] Replace count with empty in multiple extensions

Replace occurences of count() with matching empty() pendants.
Affected extensions:
- aboutmodules
- beuser
- compatibility6
- cshmanual
- css_styles_content
- dbal
- felogin
- sys_action
- t3editor
- taskcenter
- tstemplate

Resolves: #67777
Releases: master
Change-Id: I6986c71866c4f27f0c9bccc7d7d0dd14ea5695ac
Reviewed-on: http://review.typo3.org/40685
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
21 files changed:
typo3/sysext/aboutmodules/Classes/Controller/ModulesController.php
typo3/sysext/beuser/Classes/Controller/PermissionController.php
typo3/sysext/compatibility6/Classes/ContentObject/ImageTextContentObject.php
typo3/sysext/compatibility6/Classes/ContentObject/SearchResultContentObject.php
typo3/sysext/compatibility6/Classes/Controller/FormDataSubmissionController.php
typo3/sysext/compatibility6/Classes/Controller/Wizard/FormsController.php
typo3/sysext/cshmanual/Classes/Controller/HelpModuleController.php
typo3/sysext/css_styled_content/Classes/Controller/CssStyledContentController.php
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php
typo3/sysext/dbal/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/dbal/Tests/Unit/Database/SqlParserTest.php
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php
typo3/sysext/sys_action/Classes/ActionTask.php
typo3/sysext/sys_action/Classes/Backend/ToolbarItems/ActionToolbarItem.php
typo3/sysext/t3editor/Classes/Hook/TypoScriptTemplateInfoHook.php
typo3/sysext/t3editor/Classes/T3editor.php
typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateConstantEditorModuleFunctionController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateInformationModuleFunctionController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php