Merge pull request #1786 from phl0/deactivateAllOtherStationLocations

Disable all other station profiles on activating one
这个提交包含在:
Andreas Kristiansen 2022-11-16 20:28:15 +01:00 提交者 GitHub
当前提交 37e24ebc7d
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -182,7 +182,6 @@ class Stations extends CI_Model {
'station_active' => null,
);
$this->db->where('user_id', $this->session->userdata('user_id'));
$this->db->where('station_id', $clean_current);
$this->db->update('station_profile', $current_default);
// Deselect current default