[BUGFIX] T3Editor getPlugins must write to response object 81/50781/2
authorMarkus Klein <markus.klein@typo3.org>
Fri, 25 Nov 2016 19:05:40 +0000 (20:05 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 26 Nov 2016 19:29:59 +0000 (20:29 +0100)
commit7ff72daa4933ae9be944355107fbef2601af0e19
tree17a93cace7508bb080c60f61a4a89c291af86ab0
parenta5af4659a5418582bb2789cb810ef047f956ffd1
[BUGFIX] T3Editor getPlugins must write to response object

Fix the ajax request target getPlugins to write its response to
the response object and not to the request.

Moreover fix return value of setModeByFile, which is used
only once, but does not need a return value at all.

Resolves: #78802
Releases: master, 7.6
Change-Id: I840de6fe851a3c4e104c4de1ee9bd0e9c4d8f3c6
Reviewed-on: https://review.typo3.org/50781
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/t3editor/Classes/T3editor.php