Commented out cache usage in Model.
This commit is contained in:
parent
baa291d88b
commit
575a2f0914
2 changed files with 6 additions and 6 deletions
|
@ -329,7 +329,7 @@ class Model extends Object
|
|||
|
||||
if (isset($cache_key))
|
||||
{
|
||||
$cached = $this->cache->get($cache_key);
|
||||
//$cached = $this->cache->get($cache_key);
|
||||
}
|
||||
|
||||
if (isset($cached) && $cached)
|
||||
|
@ -342,7 +342,7 @@ class Model extends Object
|
|||
|
||||
if (isset($cache_key))
|
||||
{
|
||||
$this->cache->set($cache_key, $this->records);
|
||||
//$this->cache->set($cache_key, $this->records);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -956,7 +956,7 @@ class Model extends Object
|
|||
|
||||
if ($this->caching)
|
||||
{
|
||||
$this->cache->delete('PICKLES-' . $this->datasource . '-' . $this->table . '-' . $this->record[$this->id]);
|
||||
//$this->cache->delete('PICKLES-' . $this->datasource . '-' . $this->table . '-' . $this->record[$this->id]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
6
jar.php
6
jar.php
|
@ -4358,7 +4358,7 @@ class Model extends Object
|
|||
|
||||
if (isset($cache_key))
|
||||
{
|
||||
$cached = $this->cache->get($cache_key);
|
||||
//$cached = $this->cache->get($cache_key);
|
||||
}
|
||||
|
||||
if (isset($cached) && $cached)
|
||||
|
@ -4371,7 +4371,7 @@ class Model extends Object
|
|||
|
||||
if (isset($cache_key))
|
||||
{
|
||||
$this->cache->set($cache_key, $this->records);
|
||||
//$this->cache->set($cache_key, $this->records);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4985,7 +4985,7 @@ class Model extends Object
|
|||
|
||||
if ($this->caching)
|
||||
{
|
||||
$this->cache->delete('PICKLES-' . $this->datasource . '-' . $this->table . '-' . $this->record[$this->id]);
|
||||
//$this->cache->delete('PICKLES-' . $this->datasource . '-' . $this->table . '-' . $this->record[$this->id]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue