Update Api_model.php

pull/1660/head
Peter Goodhall 2022-10-11 15:03:31 +01:00
rodzic c0f812baeb
commit 7ed979b4b6
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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) {