Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1497
 
1672
 
1672
 
database.php
_> 11 <?php
  22 /*
<> 3 -  $Id: database.php 1497 2007-03-29 13:40:05Z hpdl $
   3+  $Id: database.php 1672 2007-07-26 22:07:13Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
302302         $logging_fields = array(),
  303303         $logging_changed = array();
  304304 
<> 305 -    function osC_Database_Result(&$db_class) {
   305+    function __construct(&$db_class) {
306306       $this->db_class =& $db_class;
  307307     }
  308308 
     
 !
445445         }
  446446 
  447447         if (isset($this->cache_key)) {
<> 448 -          $osC_Cache->write($this->cache_key, $this->cache_data);
   448+          $osC_Cache->write($this->cache_data, $this->cache_key);
449449         }
  450450       }
  451451 
     
 !
485485 
  486486       if (isset($this->cache_key)) {
  487487         if ($osC_Cache->read($this->cache_key, $this->cache_expire)) {
<> 488 -          $this->cache_data = $osC_Cache->cached_data;
   488+          $this->cache_data = $osC_Cache->getCache();
<_ 489489 
  490490           $this->cache_read = true;
  491491         }