Index: trunk/ippTools/src/pzgetexp.c
===================================================================
--- trunk/ippTools/src/pzgetexp.c	(revision 16170)
+++ trunk/ippTools/src/pzgetexp.c	(revision 16588)
@@ -2,5 +2,5 @@
  * pzgetexp.c
  *
- * Copyright (C) 2006  Joshua Hoblitt
+ * Copyright (C) 2006-2008  Joshua Hoblitt
  *
  * This program is free software; you can redistribute it and/or modify it
@@ -186,31 +186,4 @@
     psFree(newSummitExps);
 
-    // add new exps to pzPendingExp -- must be done before the new exps are
-    // added to summitExp because of the SQL logic
-    {
-        char *query = 
-            "INSERT INTO pzPendingExp" 
-            "   SElECT"
-            "       incoming.exp_name,"
-            "       incoming.camera,"
-            "       incoming.telescope"
-            "   FROM incoming"
-            "   LEFT JOIN summitExp"
-            "       USING(exp_name, camera, telescope)"
-            "   WHERE"
-            "       summitExp.exp_name is NULL"
-            "       AND summitExp.camera is NULL"
-            "       AND summitExp.telescope is NULL";
-
-        if (!p_psDBRunQuery(config->dbh, query)) {
-            // rollback
-            if (!psDBRollback(config->dbh)) {
-                psError(PS_ERR_UNKNOWN, false, "database error");
-            }
-            psError(PS_ERR_UNKNOWN, false, "database error");
-            return false;
-        }
-    }
-
     // add new exps to summitExp
     {
