Show externally billed domains

This commit is contained in:
Deon George
2014-01-24 00:20:48 +11:00
parent ec88eb6926
commit ae98efa84e
8 changed files with 51 additions and 32 deletions

View File

@@ -84,7 +84,7 @@ abstract class ORM extends Kohana_ORM {
* Overrides Kohana cache so that it can be globally disabled.
*/
public function cached($lifetime=NULL) {
return $this->_db->caching() ? parent::cached($lifetime) : $this;
return $this->_db->caching($this->_table_name) ? parent::cached($lifetime) : $this;
}
public function clear() {