Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1362922
20181213.auth.02.populatephid.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
361 B
Referenced Files
None
Subscribers
None
20181213.auth.02.populatephid.php
View Options
<?php
$table
=
new
PhabricatorAuthSession
();
$iterator
=
new
LiskMigrationIterator
(
$table
);
$conn
=
$table
->
establishConnection
(
'w'
);
foreach
(
$iterator
as
$session
)
{
if
(
strlen
(
$session
->
getPHID
()))
{
continue
;
}
queryfx
(
$conn
,
'UPDATE %R SET phid = %s WHERE id = %d'
,
$table
,
$session
->
generatePHID
(),
$session
->
getID
());
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jul 7, 12:50 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
320881
Default Alt Text
20181213.auth.02.populatephid.php (361 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment