summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/mythtv/MythBase.php.patch
blob: ff1f4b6829f5ff5bc86190236caae0b4b6e59da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** a/mythtv/bindings/php/MythBase.php.old	2011-04-03 06:05:31.000000000 -0500
--- b/mythtv/bindings/php/MythBase.php	2012-03-27 05:05:16.000000000 -0500
***************
*** 51,57 ****
  
      public function __destruct() {
          if (!is_null($this->cacheKey))
!             Cache::setObject($this->cacheKey, &$this, $this->cacheLifetime);
          $this->cacheKey = null;
      }
  
--- 51,57 ----
  
      public function __destruct() {
          if (!is_null($this->cacheKey))
!             Cache::setObject($this->cacheKey, $this, $this->cacheLifetime);
          $this->cacheKey = null;
      }