Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105756014
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
Wed, Mar 19, 12:49
Size
347 B
Mime Type
text/x-php
Expires
Fri, Mar 21, 12:49 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24988318
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