[TASK] Simplify returns in ConfigurationManager 15/25715/4
authorMichiel Roos <michiel@maxserv.nl>
Wed, 27 Nov 2013 19:39:20 +0000 (20:39 +0100)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Fri, 29 Nov 2013 17:20:11 +0000 (18:20 +0100)
commitdf568f05ffb3aa5461f4c88d2e5a35c7c605548a
tree13984a63e9b6d23162d94419944ee9b44fc74144
parentcfa410d56bfa17c1d422612c2ec2fbac698ececb
[TASK] Simplify returns in ConfigurationManager

writeLocalConfiguration() and writeAdditionalConfiguration()
have return statements like:
return $result === FALSE ? FALSE : TRUE;

This can be reduced to:
return $result;

Moreover the return value of canWriteConfiguration()
can be optimized as well.

Change-Id: I8e571459179e4bfeca3bba0a4969fb76d18058e2
Resolves: #54019
Releases: 6.2
Reviewed-on: https://review.typo3.org/25715
Reviewed-by: Markus Klein
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/core/Classes/Configuration/ConfigurationManager.php