CodeIgniter Forums
cache_delete with uri segments - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: cache_delete with uri segments (/showthread.php?tid=67379)



cache_delete with uri segments - dannzyx - 02-16-2017

So the manuals says to call (example);

PHP Code:
$this->db->cache_delete('blog''comments'); 
And it works.

However if I browse to blog/comments and do the following;

PHP Code:
$this->db->cache_delete($this->uri->segment(1), $this->uri->segment(2)); 

It returns TRUE but doesn't do anything.

(no it doesn't return anything, I changed to core a bit to return something)