Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F445401
20180214.harbor.01.aborted.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
623 B
Referenced Files
None
Subscribers
None
20180214.harbor.01.aborted.php
View Options
<?php
$table
=
new
HarbormasterBuildable
();
$conn
=
$table
->
establishConnection
(
'w'
);
foreach
(
new
LiskMigrationIterator
(
$table
)
as
$buildable
)
{
if
(
$buildable
->
getBuildableStatus
()
!==
'building'
)
{
continue
;
}
$aborted
=
queryfx_one
(
$conn
,
'SELECT * FROM %T WHERE buildablePHID = %s AND buildStatus = %s
LIMIT 1'
,
id
(
new
HarbormasterBuild
())->
getTableName
(),
$buildable
->
getPHID
(),
'aborted'
);
if
(!
$aborted
)
{
continue
;
}
queryfx
(
$conn
,
'UPDATE %T SET buildableStatus = %s WHERE id = %d'
,
$table
->
getTableName
(),
'failed'
,
$buildable
->
getID
());
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 1:24 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
65636
Default Alt Text
20180214.harbor.01.aborted.php (623 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment