Page MenuHomePhabricator

D19036.id45644.diff
No OneTemporary

D19036.id45644.diff

diff --git a/src/applications/diffusion/controller/DiffusionRepositoryURIViewController.php b/src/applications/diffusion/controller/DiffusionRepositoryURIViewController.php
--- a/src/applications/diffusion/controller/DiffusionRepositoryURIViewController.php
+++ b/src/applications/diffusion/controller/DiffusionRepositoryURIViewController.php
@@ -23,14 +23,10 @@
return new Aphront404Response();
}
- // For display, reload the URI by loading it through the repository. This
+ // For display, access the URI by loading it through the repository. This
// may adjust builtin URIs for repository configuration, so we may end up
// with a different view of builtin URIs than we'd see if we loaded them
// directly from the database. See T12884.
- $repository_with_uris = id(new PhabricatorRepositoryQuery())
- ->setViewer($viewer)
- ->needURIs(true)
- ->execute();
$repository_uris = $repository->getURIs();
$repository_uris = mpull($repository_uris, null, 'getID');

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 5:03 AM (19 h, 49 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6780483
Default Alt Text
D19036.id45644.diff (1 KB)

Event Timeline