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