Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F115558160
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
Sun, Jun 1, 18:30
Size
347 B
Mime Type
text/x-php
Expires
Tue, Jun 3, 18:30 (2 d)
Engine
blob
Format
Raw Data
Handle
26522458
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