Update Api_model.php

这个提交包含在:
Peter Goodhall 2022-10-11 15:03:31 +01:00
父节点 c0f812baeb
当前提交 7ed979b4b6

查看文件

@ -16,7 +16,8 @@ class API_Model extends CI_Model {
function CountKeysWithNoUserID() {
$this->db->where('user_id !=', NULL);
return $this->db->count_all('api');
$query = $this->db->get('CountKeysWithNoUserID');
return $query->num_rows();
}
function ClaimAllAPIKeys($id = NULL) {