Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106874104
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, Apr 1, 21:39
Size
347 B
Mime Type
text/x-php
Expires
Thu, Apr 3, 21:39 (2 d)
Engine
blob
Format
Raw Data
Handle
25294314
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