From: Arno H. <aho...@in...> - 2000-10-19 22:38:31
|
I have added the ExitWiki() function to stdlib A short test with dbmlib.php reminded me of something long overdue: we have to change OpenDataBase() and CloseDataBase(). Namely: OpenDataBase() should return nothing and both should take no parameters. Reason: those two functions should just prepare the db access. Selecting wiki or archive should not be dealed with in those functions. I could go into detail why I think this change is a Good Thing, but I leave that as homework for now. It's a big change though (e.g. removing $dbi from just about everywhere). On a related note: unless somebody screams bloody murder I will relocate UpdateRecentChanges() into savepage.php. stdlib.php is big enough already, the function is only called from savepage.php, and I don't see another use for it. /Arno |