diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-11 22:33:42 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-11 22:33:42 +0000 |
commit | 6d4cb95ae33e1398ae1cf4043f554c2b0f2986c7 (patch) | |
tree | a8a87dc5a35813683361e8d4b67777ca4d0497b2 | |
parent | 39835a50277965f77322d5af30123100d2e1b694 (diff) |
Disable Kohana's new column caching when we're in TEST_MODE
-rw-r--r-- | kohana/libraries/ORM.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kohana/libraries/ORM.php b/kohana/libraries/ORM.php index 6ee4c28f..72aab746 100644 --- a/kohana/libraries/ORM.php +++ b/kohana/libraries/ORM.php @@ -890,7 +890,7 @@ class ORM_Core { { if ($force === TRUE OR empty($this->table_columns)) { - if (isset(self::$column_cache[$this->object_name])) + if (!TEST_MODE && isset(self::$column_cache[$this->object_name])) { // Use cached column information $this->table_columns = self::$column_cache[$this->object_name]; |