Skip to content
Snippets Groups Projects

Update dashboard/app/devices_save.php

Open jiajunw6 requested to merge jiajunw6-main-patch-42648 into main
1 file
+ 0
2
Compare changes
  • Side-by-side
  • Inline
@@ -5,7 +5,6 @@ require_once __DIR__.'/../../include/dataset.php';
require_once __DIR__.'/template.php';
//取得get参数
getintnull('id','loginuid','record','upload','reset'); getstr('url');
@@ -13,7 +12,6 @@ $where=' where 1';
if($id) $where.=' and `id`='.$id;
if(!is_null($loginuid)&&$loginuid==0) {
//$where.=' and `id`>0'; //只有录音设备才能下线
$conn->exec("update `devices` set `logintime`=null, `loginuid`=null, `title`='未登录' {$where}");
}
Loading