public function clearQuerySpecs($guid) { if (!empty($this->query_specs[$guid])) { foreach ($this->query_specs[$guid] as $spec) { $this->db->removeQuerySpec($spec); } } }