not sure what i did, but you can bet it was AWESOME
[glcas.git] / libglcas / config.php
index 3f4588e..96345b2 100644 (file)
@@ -57,7 +57,7 @@ class GLCASConfig {
        {
                $sql = "insert into datatable values (NULL, '$configType', '$configCat', '$configName', '$configVal')";
                $this->dbobject->query($sql);
-               error_log("CONFIG: adddata as $sql");
+               //error_log("CONFIG: adddata as $sql");
        }
        
        function saveConfig()
@@ -81,7 +81,7 @@ class GLCASConfig {
                }
                
                $sql = "select data_category,data_name,data_val from datatable $wheredata";
-               error_log("CONFIG: get via $sql");
+               //error_log("CONFIG: get via $sql");
                
                $res = $this->dbobject->query($sql);
                
@@ -108,7 +108,7 @@ class GLCASConfig {
                $sql = "delete from datatable where data_type='$configType' and data_category='$configCat' $extrawhere";
                $this->dbobject->query($sql);
                
-               error_log("del all data was $sql");
+               //error_log("del all data was $sql");
        }
        
        function delAllDAta($configType, $configCat)
@@ -116,7 +116,7 @@ class GLCASConfig {
                $sql = "delete from datatable where data_type='$configType' and data_category='$configCat'";
                //echo "sql is $sql\n";
                $this->dbobject->query($sql);
-               error_log("del all data was $sql");
+               //error_log("del all data was $sql");
        }
        
        function setupTables()