Remove ProjectProfile->loadProfileImageURI()

Summary: Ref T603. Gets rid of a sketchy, non-policy-aware, unbatched file query.

Test Plan: Looked at projects, typeahead, edited project profile images.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7253
This commit is contained in:
epriestley
2013-10-06 17:07:43 -07:00
parent 80f6d00940
commit c587b8a9c8
5 changed files with 47 additions and 15 deletions

View File

@@ -26,8 +26,7 @@ final class PhabricatorProjectProfileController
}
$profile = $project->getProfile();
$picture = $profile->loadProfileImageURI();
$picture = $profile->getProfileImageURI();
require_celerity_resource('phabricator-profile-css');