Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14095423
D19036.id45644.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D19036.id45644.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 9:09 PM (4 h, 42 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6790924
Default Alt Text
D19036.id45644.diff (1 KB)
Attached To
Mode
D19036: Remove completely pointless load of every repository when viewing a repository URI
Attached
Detach File
Event Timeline
Log In to Comment