[geeklog-cvs] Geeklog-1.x/plugins/links functions.inc,1.81,1.82

Oliver ospiess at qs1489.pair.com
Tue Aug 28 03:52:28 EDT 2007


Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/links
In directory qs1489.pair.com:/tmp/cvs-serv65953

Modified Files:
	functions.inc 
Log Message:
fix upgrade code

Index: functions.inc
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/links/functions.inc,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** functions.inc	28 Aug 2007 07:33:30 -0000	1.81
--- functions.inc	28 Aug 2007 07:52:25 -0000	1.82
***************
*** 789,796 ****
  
          // update the links and linksubmission table structures
!         COM_errorLog ("Updating linksubmission table for the links plugin", 1);
!         DB_Query($LINKS_SQL['linksubmission'],1);
          if (DB_error ()) {
!             COM_errorLog ("There was an error updating the linksubmission table of the links plugin", 1);
              return false;
          }
--- 789,802 ----
  
          // update the links and linksubmission table structures
!         COM_errorLog ("Updating linksubmission table for the links plugin (a)", 1);
!         DB_Query($LINKS_SQL['linksubmission1'],1);
          if (DB_error ()) {
!             COM_errorLog ("There was an error updating the linksubmission table of the links plugin (a)", 1);
!             return false;
!         }
!         COM_errorLog ("Updating linksubmission table for the links plugin (b)", 1);
!         DB_Query($LINKS_SQL['linksubmission2'],1);
!         if (DB_error ()) {
!             COM_errorLog ("There was an error updating the linksubmission table of the links plugin (b)", 1);
              return false;
          }




More information about the geeklog-cvs mailing list