phpOpenTracker/phpOpenTracker/API/Plugin AccessStatistics.php,1.6,1.7

Sebastian Bergmann <[email protected]> Fri, 27 Feb 2004 09:01:32 +0000
Newsgroups gmane.comp.web.phpopentracker.cvs
Message-ID <[email protected]>
Update of /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker/API/Plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32298/phpOpenTracker/API/Plugin

Modified Files:
	AccessStatistics.php 
Log Message:
Flush.

Index: AccessStatistics.php
===================================================================
RCS file: /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker/API/Plugin/AccessStatistics.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AccessStatistics.php	27 Feb 2004 06:50:48 -0000	1.6
--- AccessStatistics.php	27 Feb 2004 09:01:30 -0000	1.7
***************
*** 102,107 ****
  
                  ($parameters['api_call'] == 'page_impressions') ? 'COUNT(*)' : 'COUNT(DISTINCT(visitors.accesslog_id))',
!                 $this->config['accesslog_table'],
!                 $this->config['visitors_table'],
                  $parameters['client_id'],
                  $this->getConstraintClause($parameters['constraints']),
--- 102,107 ----
  
                  ($parameters['api_call'] == 'page_impressions') ? 'COUNT(*)' : 'COUNT(DISTINCT(visitors.accesslog_id))',
!                 $this->configuration['accesslog_table'],
!                 $this->configuration['visitors_table'],
                  $parameters['client_id'],
                  $this->getConstraintClause($parameters['constraints']),
***************
*** 114,118 ****
              );
  
-             $row = $queryResult->current();
              $result[$resultIndex][$parameters['api_call']] = intval($row['result']);
  
--- 114,117 ----



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click