Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv20873/class
Modified Files:
functions.inc
Log Message:
opefully fix Luis' bug
Index: functions.inc
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/functions.inc,v
retrieving revision 1.92
retrieving revision 1.93
diff -C2 -d -r1.92 -r1.93
*** functions.inc 25 Feb 2002 23:58:22 -0000 1.92
--- functions.inc 3 Mar 2002 16:07:53 -0000 1.93
***************
*** 231,235 ****
--- 231,238 ----
$sl_q = new slashDB;
return $sl_q->nextid($sequence);
+ // Destroy the object, the gc should free resources
+ unset($sl_q);
} else {
+ // TODO: Shouldn't be an echo
echo "<BR><BR><B><FONT COLOR=RED SIZE=+2>You need to pass in the sequence to generateID!!!</FONT></B><BR><BR>\n";
exit;
|