mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
d1225e782b
Summary: Fixes T3810. In PhabricatorPeopleQuery, we issue an unnecessary query like this: SELECT f.* FROM file f WHERE (f.phid IN ('')) ORDER BY f.id DESC ...if we're loading a user without a profile picture. Filter the file PHIDs before loading them to prevent this. This doesn't change anything, but saves us a spurious/silly query. Also makes `PhabricatorPeopleProfileController` use `needProfileImage()`, moving us closer to getting rid of `loadProfileImageURI()` eventually. Test Plan: Looked at profiles of users with and without profile pictures. Checked query log in DarkConsole. Reviewers: chad, btrahan Reviewed By: chad CC: aran Maniphest Tasks: T3810 Differential Revision: https://secure.phabricator.com/D6913 |
||
---|---|---|
.. | ||
PhabricatorPeopleController.php | ||
PhabricatorPeopleEditController.php | ||
PhabricatorPeopleLdapController.php | ||
PhabricatorPeopleListController.php | ||
PhabricatorPeopleLogsController.php | ||
PhabricatorPeopleProfileController.php | ||
PhabricatorPeopleProfileEditController.php | ||
PhabricatorPeopleProfilePictureController.php |