Merge pull request #1786 from phl0/deactivateAllOtherStationLocations
Disable all other station profiles on activating one
这个提交包含在:
当前提交
37e24ebc7d
共有 1 个文件被更改,包括 0 次插入 和 1 次删除
|
|
@ -182,7 +182,6 @@ class Stations extends CI_Model {
|
||||||
'station_active' => null,
|
'station_active' => null,
|
||||||
);
|
);
|
||||||
$this->db->where('user_id', $this->session->userdata('user_id'));
|
$this->db->where('user_id', $this->session->userdata('user_id'));
|
||||||
$this->db->where('station_id', $clean_current);
|
|
||||||
$this->db->update('station_profile', $current_default);
|
$this->db->update('station_profile', $current_default);
|
||||||
|
|
||||||
// Deselect current default
|
// Deselect current default
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用