NotificationhistoryQuery: Improve JOIN performance

refs #9009
This commit is contained in:
Johannes Meyer 2015-06-16 08:11:18 +02:00
parent 4c3592a82e
commit a6d1115d0f
1 changed files with 0 additions and 9 deletions

View File

@ -26,15 +26,6 @@ class NotificationhistoryQuery extends IdoQuery
)
);
public function whereToSql($col, $sign, $expression)
{
if ($col === 'UNIX_TIMESTAMP(n.start_time)') {
return 'n.start_time ' . $sign . ' ' . $this->timestampForSql($this->valueToTimestamp($expression));
} else {
return parent::whereToSql($col, $sign, $expression);
}
}
protected function joinBaseTables()
{
switch ($this->ds->getDbType()) {