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