repo.or.cz
/
phabricator.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git]
/
resources
/
sql
/
autopatches
/
20160510.repo.01.uriindex.php
blob
191985af477d77e2869d8ac65b2b26db0728443b
1
<
?php
2
3
$repos
=
id
(
new
PhabricatorRepositoryQuery
())
4
->
setViewer
(
PhabricatorUser
::
getOmnipotentUser
())
5
->
needURIs
(
true
)
6
->
execute
();
7
8
foreach
(
$repos
as
$repo
) {
9
$repo
->
updateURIIndex
();
10
}