Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2890140
20150526.owners.mailkey.2.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
423 B
Referenced Files
None
Subscribers
None
20150526.owners.mailkey.2.php
View Options
<?php
$table
=
new
PhabricatorOwnersPackage
(
)
;
$conn_w
=
$table
->
establishConnection
(
'w'
)
;
$iterator
=
new
LiskMigrationIterator
(
$table
)
;
foreach
(
$iterator
as
$package
)
{
$id
=
$package
->
getID
(
)
;
echo
pht
(
'Adding mail key for package %d...'
,
$id
)
;
echo
"\n"
;
queryfx
(
$conn_w
,
'UPDATE %T SET mailKey = %s WHERE id = %d'
,
$table
->
getTableName
(
)
,
Filesystem
::
readRandomCharacters
(
20
)
,
$id
)
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 13:07 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124906
Default Alt Text
20150526.owners.mailkey.2.php (423 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment