Commit b659609def6729b2eb75dea2784f578161eb42d6

Authored by michael
1 parent 3993303f

removed debug logging


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2441 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/store.inc
... ... @@ -36,7 +36,6 @@ function constructQuery($aKeys, $aSuppliedValues = null) {
36 36  
37 37 $iPrimaryKey = $_POST[$aKeys[++$i]];
38 38 $sTableName = $_POST[$aKeys[++$i]];
39   - $default->log->info("primaryKey=$iPrimaryKey; tableName=$sTableName");
40 39  
41 40 $i++;
42 41 $iColumnCount = 0;
... ... @@ -75,11 +74,10 @@ function constructQuery($aKeys, $aSuppliedValues = null) {
75 74 break;
76 75 }
77 76  
78   - //$aValues[$iColumnCount] = $_POST[$aKeys[$i]];
79 77 $sRowStart = $aKeys[++$i];
80 78 $iColumnCount++;
81 79 }
82   - $default->log->info("columns: " . arrayToString($aColumns));
  80 +
83 81 if ($iPrimaryKey < 0) {
84 82 //perform an insert
85 83 $sQuery = "INSERT INTO $sTableName (";
... ... @@ -107,7 +105,6 @@ function constructQuery($aKeys, $aSuppliedValues = null) {
107 105 break;
108 106 case 4:
109 107 // user supplied values
110   - $default->log->info("supplied values: aColumns[j]=" . $aColumns[$j] . "suppliedValues=" . $aSuppliedValues[$aColumns[$j]]);
111 108 $sQuery .= $aSuppliedValues[$aColumns[$j]] . ", ";
112 109 break;
113 110 default:
... ... @@ -133,7 +130,6 @@ function constructQuery($aKeys, $aSuppliedValues = null) {
133 130 break;
134 131 case 4:
135 132 // user supplied values
136   - $default->log->info("supplied values: suppliedValues=" . $aSuppliedValues[$aColumns[count($aColumns) - 1]]);
137 133 $sQuery .= $aSuppliedValues[$aColumns[count($aColumns) - 1]] . ", ";
138 134 break;
139 135 default:
... ...
presentation/lookAndFeel/knowledgeTree/store.php
... ... @@ -26,7 +26,6 @@ if (count($_POST) &gt; 0) {
26 26  
27 27 //execute the queries
28 28 for ($i=0; $i<count($aQueries); $i++) {
29   - $default->log->info("query=" . $aQueries[$i]);
30 29 $sql = $default->db;
31 30 $sql->query($aQueries[$i]);
32 31 }
... ...