Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72335741
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
Mon, Jul 15, 08:56
Size
347 B
Mime Type
text/x-php
Expires
Wed, Jul 17, 08:56 (2 d)
Engine
blob
Format
Raw Data
Handle
19047027
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