monitoring: Fix renamed index in the HostcommentdeletionhistoryQuery

refs #9956
This commit is contained in:
Eric Lippmann 2015-09-29 22:26:05 +02:00
parent 3623cf5196
commit a3b74fe6d0
1 changed files with 4 additions and 4 deletions

View File

@ -27,15 +27,15 @@ class HostcommentdeletionhistoryQuery extends HostcommenthistoryQuery
{ {
parent::joinBaseTables(); parent::joinBaseTables();
$this->select->where("hch.deletion_time > '1970-01-02 00:00:00'"); $this->select->where("hch.deletion_time > '1970-01-02 00:00:00'");
$this->columnMap['history']['timestamp'] = str_replace( $this->columnMap['commenthistory']['timestamp'] = str_replace(
'comment_time', 'comment_time',
'deletion_time', 'deletion_time',
$this->columnMap['history']['timestamp'] $this->columnMap['commenthistory']['timestamp']
); );
$this->columnMap['history']['type'] = str_replace( $this->columnMap['commenthistory']['type'] = str_replace(
'END)', 'END)',
"END || '_deleted')", "END || '_deleted')",
$this->columnMap['history']['type'] $this->columnMap['commenthistory']['type']
); );
} }
} }