mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Refactored the CAT lookup code reduced the load times from 0.5152ms to load to a mere 0.0012ms
This commit is contained in:
@@ -90,6 +90,16 @@
|
||||
return $query;
|
||||
}
|
||||
|
||||
|
||||
function radio_status($id) {
|
||||
$this->db->select('*');
|
||||
$this->db->where('id', $id);
|
||||
$query = $this->db->get('cat');
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
|
||||
function delete($id) {
|
||||
$this->db->where('id', $id);
|
||||
$this->db->delete('cat');
|
||||
|
||||
Reference in New Issue
Block a user