Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77189805
20160531.pref.07.phidval.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
Tue, Aug 13, 00:21
Size
347 B
Mime Type
text/x-php
Expires
Thu, Aug 15, 00:21 (2 d)
Engine
blob
Format
Raw Data
Handle
19836112
Attached To
rPH Phabricator
20160531.pref.07.phidval.php
View Options
<?php
$table
=
new
PhabricatorUserPreferences
();
$conn_w
=
$table
->
establishConnection
(
'w'
);
foreach
(
new
LiskMigrationIterator
(
$table
)
as
$row
)
{
if
(
$row
->
getPHID
()
!==
''
)
{
continue
;
}
queryfx
(
$conn_w
,
'UPDATE %T SET phid = %s WHERE id = %d'
,
$table
->
getTableName
(),
$table
->
generatePHID
(),
$row
->
getID
());
}
Event Timeline
Log In to Comment