Update of /cvsroot/basedb/basedb/www
In directory usw-pr-cvs1:/tmp/cvs-serv11433
Modified Files:
mysql.inc.php pgsql.inc.php
Log Message:
Added missing 'function' keyword
Index: mysql.inc.php
===================================================================
RCS file: /cvsroot/basedb/basedb/www/mysql.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** mysql.inc.php 8 Sep 2002 14:46:58 -0000 1.5
--- mysql.inc.php 8 Sep 2002 14:50:02 -0000 1.6
***************
*** 250,254 ****
// Return a representation of a time interval
! db_interval($secs)
{
return "INTERVAL ".(int)$secs." SECOND";
--- 250,254 ----
// Return a representation of a time interval
! function db_interval($secs)
{
return "INTERVAL ".(int)$secs." SECOND";
Index: pgsql.inc.php
===================================================================
RCS file: /cvsroot/basedb/basedb/www/pgsql.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pgsql.inc.php 8 Sep 2002 14:46:58 -0000 1.2
--- pgsql.inc.php 8 Sep 2002 14:50:02 -0000 1.3
***************
*** 249,253 ****
// Return a representation of a time interval
! db_interval($secs)
{
return "INTERVAL '".(int)$secs." s'";
--- 249,253 ----
// Return a representation of a time interval
! function db_interval($secs)
{
return "INTERVAL '".(int)$secs." s'";
|