Removed some debug output.
authorarjen <arjen>
Mon, 20 Jan 2003 07:31:42 +0000 (07:31 +0000)
committerarjen <arjen>
Mon, 20 Jan 2003 07:31:42 +0000 (07:31 +0000)
src/lib/database.cpp

index 9a20d6d..ce66552 100644 (file)
@@ -8,7 +8,7 @@
 ***********************
 **      FILE NAME      : database.cpp
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.4 $
+**      VERSION NUMBER : $Revision: 1.5 $
 **
 **  DESCRIPTION      :  Implementation of the gnucomo database classes
 **
 
 /*****************************
    $Log: database.cpp,v $
-   Revision 1.4  2003-01-18 08:52:32  arjen
+   Revision 1.5  2003-01-20 07:31:42  arjen
+   Removed some debug output.
+
+   Revision 1.4  2003/01/18 08:52:32  arjen
    New C++ function: gnucomo_database::new_notification()
 
    Revision 1.3  2002/11/09 08:04:27  arjen
@@ -40,7 +43,7 @@
 
 *****************************/
 
-static const char *RCSID = "$Id: database.cpp,v 1.4 2003-01-18 08:52:32 arjen Exp $";
+static const char *RCSID = "$Id: database.cpp,v 1.5 2003-01-20 07:31:42 arjen Exp $";
 
 #include <AXE/date.h>
 
@@ -128,7 +131,7 @@ void gnucomo_database::new_notification(String objectid, String issue, String re
 
    String issueid("");
 
-   std::cout << "Creating notification for " << issue << "\n";
+   std::cout << "Creating notification for " << issue << ": " << remark << "\n";
 
    qry = "select type_of_issueid, suggested_priority from type_of_issue where name='";
    qry += issue + "'";
@@ -141,8 +144,6 @@ void gnucomo_database::new_notification(String objectid, String issue, String re
       insertion += issueid + "', '" + now.format("%Y-%m-%d %T") + "', 'new', '";
       insertion += Field(0, "suggested_priority") + "')";
 
-      std::cout << insertion << "\n";
-
       qry = "select notificationid from notification where objectid='";
       qry += objectid + "' and type_of_issueid = '";
       qry += issueid + "' order by notificationid";
@@ -159,7 +160,6 @@ void gnucomo_database::new_notification(String objectid, String issue, String re
          insertion += notif_id + "', '" + now.format("%Y-%m-%d %T") + "', 'new', '";
          insertion += remark + "')";
 
-         std::cout << insertion << "\n";
          Query(insertion);
       }
       else