Added Node activity
This commit is contained in:
@@ -111,7 +111,6 @@ abstract class ORM_TSM extends ORM {
|
||||
private function isCacheable() {
|
||||
$config = Kohana::$config->load('database')->{Kohana::$config->load('config')->client_type};
|
||||
|
||||
//echo Debug::vars(array('m'=>__METHOD__,'cpl'=>$config['cachepreload'],'tn'=>$this->_table_name,'db'=>count($this->_db_pending),'pend'=>$this->_db_pending,'pk'=>$this->_primary_key));
|
||||
if ($config['caching'] AND isset($config['cachepreload'][$this->_table_name]) AND count($this->_db_pending) == 1 AND $this->_db_pending[0]['name'] == 'where' AND $this->_db_pending[0]['args'][0] == $this->_primary_key AND $this->_db_pending[0]['args'][1] == '=')
|
||||
return $config['cachepreload'][$this->_table_name];
|
||||
else
|
||||
|
Reference in New Issue
Block a user