Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1156623
20180504.owners.01.mailkey.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
758 B
Referenced Files
None
Subscribers
None
20180504.owners.01.mailkey.php
View Options
<?php
$packages_table
=
new
PhabricatorOwnersPackage
();
$packages_conn
=
$packages_table
->
establishConnection
(
'w'
);
$packages_name
=
$packages_table
->
getTableName
();
$properties_table
=
new
PhabricatorMetaMTAMailProperties
();
$conn
=
$properties_table
->
establishConnection
(
'w'
);
$iterator
=
new
LiskRawMigrationIterator
(
$packages_conn
,
$packages_name
);
foreach
(
$iterator
as
$package
)
{
queryfx
(
$conn
,
'INSERT IGNORE INTO %T
(objectPHID, mailProperties, dateCreated, dateModified)
VALUES
(%s, %s, %d, %d)'
,
$properties_table
->
getTableName
(),
$package
[
'phid'
],
phutil_json_encode
(
array
(
'mailKey'
=>
$package
[
'mailKey'
],
)),
PhabricatorTime
::
getNow
(),
PhabricatorTime
::
getNow
());
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jul 1, 10:06 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
288018
Default Alt Text
20180504.owners.01.mailkey.php (758 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment