Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94925848
20151218.key.2.keyphid.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 11, 11:10
Size
352 B
Mime Type
text/x-php
Expires
Fri, Dec 13, 11:10 (2 d)
Engine
blob
Format
Raw Data
Handle
22901011
Attached To
rPH Phabricator
20151218.key.2.keyphid.php
View Options
<?php
$table
=
new
PhabricatorAuthSSHKey
();
$conn_w
=
$table
->
establishConnection
(
'w'
);
foreach
(
new
LiskMigrationIterator
(
$table
)
as
$cursor
)
{
if
(
strlen
(
$cursor
->
getPHID
()))
{
continue
;
}
queryfx
(
$conn_w
,
'UPDATE %T SET phid = %s WHERE id = %d'
,
$table
->
getTableName
(),
$table
->
generatePHID
(),
$cursor
->
getID
());
}
Event Timeline
Log In to Comment