[geeklog-cvs] Geeklog-1.x/system lib-plugins.php,1.148,1.149

Michael Jervis mjervis at qs1489.pair.com
Thu Jun 26 17:39:10 EDT 2008


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

Modified Files:
	lib-plugins.php 
Log Message:
Updated PLG_uninstall to supress errors for table drop. [bug 0000668] [LWC]

Index: lib-plugins.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-plugins.php,v
retrieving revision 1.148
retrieving revision 1.149
diff -C2 -d -r1.148 -r1.149
*** lib-plugins.php	24 May 2008 10:38:55 -0000	1.148
--- lib-plugins.php	26 Jun 2008 21:39:06 -0000	1.149
***************
*** 206,210 ****
          for ($i=0; $i < count($remvars['tables']); $i++) {
              COM_errorLog ("Dropping table {$_TABLES[$remvars['tables'][$i]]}", 1);
!             DB_query ("DROP TABLE {$_TABLES[$remvars['tables'][$i]]}");
              COM_errorLog ('...success', 1);
          }
--- 206,210 ----
          for ($i=0; $i < count($remvars['tables']); $i++) {
              COM_errorLog ("Dropping table {$_TABLES[$remvars['tables'][$i]]}", 1);
!             DB_query ("DROP TABLE {$_TABLES[$remvars['tables'][$i]]}", 1    );
              COM_errorLog ('...success', 1);
          }




More information about the geeklog-cvs mailing list