Commit f87ab77e643f8b4ec5b61bf1fc1e447c9c35a4f8
1 parent
550b15a6
removed debug logging
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2441 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
1 additions
and
6 deletions
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