mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fixed version check (had it flipped for testing purposes)
This commit is contained in:
@@ -42,7 +42,7 @@ class Accumulate_model extends CI_Model
|
|||||||
$dbversion = $this->db->version();
|
$dbversion = $this->db->version();
|
||||||
$dbversion = explode('.', $dbversion);
|
$dbversion = explode('.', $dbversion);
|
||||||
|
|
||||||
if ($dbversion[0] <= "8") {
|
if ($dbversion[0] >= "8") {
|
||||||
return $this->get_accumulated_by_column_fast($band, $mode, $propmode, $period, $location_list, $column, $where_condition, $outer_where_condition);
|
return $this->get_accumulated_by_column_fast($band, $mode, $propmode, $period, $location_list, $column, $where_condition, $outer_where_condition);
|
||||||
} else {
|
} else {
|
||||||
return $this->get_accumulated_by_column_slow($band, $mode, $propmode, $period, $location_list, $column, $where_condition, $where_check, $outer_where_condition);
|
return $this->get_accumulated_by_column_slow($band, $mode, $propmode, $period, $location_list, $column, $where_condition, $where_check, $outer_where_condition);
|
||||||
|
|||||||
Reference in New Issue
Block a user