Removed debug output.
authorarjen <arjen>
Thu, 31 Jul 2003 15:44:02 +0000 (15:44 +0000)
committerarjen <arjen>
Thu, 31 Jul 2003 15:44:02 +0000 (15:44 +0000)
src/lib/database.cpp

index 22f2883..79ceee2 100644 (file)
@@ -8,7 +8,7 @@
 ***********************
 **      FILE NAME      : database.cpp
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.7 $
+**      VERSION NUMBER : $Revision: 1.8 $
 **
 **  DESCRIPTION      :  Implementation of the gnucomo database classes
 **
 ********************************
 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
 **      CREATION DATE   : Sep 10, 2002
-**      LAST UPDATE     : Jan 31, 2003
+**      LAST UPDATE     : Jul 24, 2003
 **      MODIFICATIONS   : 
 **************************************************************************/
 
 /*****************************
    $Log: database.cpp,v $
-   Revision 1.7  2003-02-19 12:07:55  arjen
+   Revision 1.8  2003-07-31 15:44:02  arjen
+   Removed debug output.
+
+   Revision 1.7  2003/02/19 12:07:55  arjen
    Use the SQL function currval() to obtain the identification number
    of the most recently created notification.
 
 
 *****************************/
 
-static const char *RCSID = "$Id: database.cpp,v 1.7 2003-02-19 12:07:55 arjen Exp $";
+static const char *RCSID = "$Id: database.cpp,v 1.8 2003-07-31 15:44:02 arjen Exp $";
 
 #include <AXE/date.h>
 
 #include "database.h"
 
-extern bool verbose;   /*  Defined in the main application */
-
 /*=========================================================================
 **  NAME           : gnucomo_database
 **  SYNOPSIS       : gnucomo_database(gnucomo_config &c);
@@ -72,7 +73,7 @@ extern bool verbose;   /*  Defined in the main application */
 **  VARS CHANGED   :
 **  FUNCTIONS USED :
 **  SEE ALSO       :
-**  LAST MODIFIED  : Sep 26, 2002
+**  LAST MODIFIED  : Jul 24, 2003
 **=========================================================================
 */
 
@@ -80,11 +81,6 @@ gnucomo_database::gnucomo_database(gnucomo_config *c)
 {
    cfg = c;
 
-   if (verbose)
-   {
-      std::cout <<  "Database connection string = " << cfg->Database() << "\n";
-   }
-
    db = new PgDatabase(cfg->Database());
 
    if (db->ConnectionBad())