Remove some debugging code
authorJoachim Breitner <mail@joachim-breitner.de>
Fri, 26 Jun 2009 08:52:17 +0000 (10:52 +0200)
committerJoachim Breitner <mail@joachim-breitner.de>
Fri, 26 Jun 2009 08:52:17 +0000 (10:52 +0200)
web/php/Controller.php
web/php/Database.php

index 56a8658..d8ff405 100644 (file)
@@ -79,7 +79,6 @@
                        }
                        
                        $res = "";
-                       error_log($func);
 
                        switch ($func) {
                                case "IsLoggedIn":
@@ -99,7 +98,6 @@
                                        break;
 
                                case "SavePlant":
-                                       error_log("Blubb");
                                        if ($plant != null) {
                                                $res = $plant->Save($code);
                                        } else {
index 7a23fb1..49466e2 100644 (file)
                public function UpdatePlant($plant) {
                        $result = false;
                        
-                       die($plant);
-
                        $stmt = $this->m_Connection->prepare("UPDATE plant SET Code=?, Valid=? WHERE ID=?");
 
                        if ($stmt) {