monitoring: Fix renamed index in the ServicecommentdeletionhistoryQuery

refs #9956
This commit is contained in:
Eric Lippmann 2015-09-29 22:36:24 +02:00
parent e8ce410f08
commit 1f040df1e9
1 changed files with 3 additions and 3 deletions

View File

@ -27,15 +27,15 @@ class ServicecommentdeletionhistoryQuery extends ServicecommenthistoryQuery
{ {
parent::joinBaseTables(); parent::joinBaseTables();
$this->select->where("sch.deletion_time > '1970-01-02 00:00:00'"); $this->select->where("sch.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['history']['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']
); );
} }
} }