One SELECT query less in cases where user is the account owner
Details
Details
- Reviewers
mollekopf - Group Reviewers
Restricted Project - Commits
- rK681fac8bd5b2: Small performance improvement in User::isDegraded()
./phpunit
Diff Detail
Diff Detail
- Repository
- rK kolab
- Branch
- dev/user-isdegraded-perf-fix
- Lint
Lint Skipped - Unit
No Test Coverage - Build Status
Buildable 53049 Build 18807: arc lint + arc unit
Event Timeline
| src/app/User.php | ||
|---|---|---|
| 424 | I think a small function "isOwner" would make this a lot easier to read, but it's fine either way. | |