Actions
Bug #41719
closedBad comparison for strings
Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2012-10-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
ResourceStorage:
if (in_array($action, array('read'))) {
There is no need for in_array() call on this line and below. A simple string comparison is faster and more readable in this case.
Function checkFileActionPermission().
Updated by Dmitry Dulepov about 12 years ago
Same in checkFolderActionPermission().
Updated by Andreas Wolf about 12 years ago
- Status changed from New to Accepted
- Assignee set to Andreas Wolf
- Target version set to 6.0.0-RC1
Updated by Gerrit Code Review about 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15400
Updated by Gerrit Code Review about 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15400
Updated by Gerrit Code Review about 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15400
Updated by Anonymous about 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5bdb025345cffaec944bd475b7ab7ed8af464520.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Actions