Ticket #10504: MythBase.php.patch

File MythBase.php.patch, 581 bytes (added by Dave Sp <davespmyth@…>, 8 years ago)
Line 
1*** classes/MythBase.php.old    2011-04-03 06:05:31.000000000 -0500
2--- classes/MythBase.php        2012-03-27 05:05:16.000000000 -0500
3***************
4*** 51,57 ****
5 
6      public function __destruct() {
7          if (!is_null($this->cacheKey))
8!             Cache::setObject($this->cacheKey, &$this, $this->cacheLifetime);
9          $this->cacheKey = null;
10      }
11 
12--- 51,57 ----
13 
14      public function __destruct() {
15          if (!is_null($this->cacheKey))
16!             Cache::setObject($this->cacheKey, $this, $this->cacheLifetime);
17          $this->cacheKey = null;
18      }
19