[geeklog-cvs] Geeklog-1.x/system/classes timer.class.php,1.7,1.8

Dirk Haun dhaun at qs1489.pair.com
Fri May 23 03:35:13 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv16675/system/classes

Modified Files:
	timer.class.php 
Log Message:
The example code referred to a nonexistent endTimer method (thanks, Sami!)


Index: timer.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/timer.class.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** timer.class.php	30 Mar 2004 02:41:34 -0000	1.7
--- timer.class.php	23 May 2008 07:35:11 -0000	1.8
***************
*** 3,15 ****
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Geeklog 1.3                                                               |
  // +---------------------------------------------------------------------------+
  // | timer.class.php                                                           |
- // | Geeklog timer class.  Use this to do performance testing.                 |
  // |                                                                           |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2002 by the following authors:                         |
  // |                                                                           |
! // | Authors: Tony Bibbs, tony at tonybibbs.com                                   |
  // +---------------------------------------------------------------------------+
  // |                                                                           |
--- 3,15 ----
  /* Reminder: always indent with 4 spaces (no tabs). */
  // +---------------------------------------------------------------------------+
! // | Geeklog 1.5                                                               |
  // +---------------------------------------------------------------------------+
  // | timer.class.php                                                           |
  // |                                                                           |
+ // | Geeklog timer class.  Use this to do performance testing.                 |
  // +---------------------------------------------------------------------------+
! // | Copyright (C) 2000-2008 by the following authors:                         |
  // |                                                                           |
! // | Authors: Tony Bibbs, tony AT tonybibbs DOT com                            |
  // +---------------------------------------------------------------------------+
  // |                                                                           |
***************
*** 45,49 ****
  
      // Stop timer and print elapsed time
!     echo $mytimer->endTimer();
  
  */
--- 45,49 ----
  
      // Stop timer and print elapsed time
!     echo $mytimer->stopTimer();
  
  */
***************
*** 138,142 ****
      * Restarts the timer
      *
!     * Same as starTimer excepts this clears everything out first
      *
      */
--- 138,142 ----
      * Restarts the timer
      *
!     * Same as startTimer excepts this clears everything out first
      *
      */
***************
*** 180,182 ****
  }
  
! ?>
\ No newline at end of file
--- 180,182 ----
  }
  
! ?>




More information about the geeklog-cvs mailing list