Bug fixes: remove debug output, return values from functions

This commit is contained in:
2011-08-28 13:01:17 +01:00
parent f0012d7be2
commit da746cb118

View File

@@ -167,10 +167,11 @@ class SihnonFramework_Database {
$this->reconnect();
return $this->insert($sql, $bind_params, ++$count);
} else {
var_dump($std_code, $driver_code, $message);
throw new Sihnon_Exception_DatabaseQueryFailed($message, $driver_code);
}
}
return $result;
}
public function update($sql, $bind_params = null, $count = 0) {
@@ -197,6 +198,8 @@ class SihnonFramework_Database {
throw new Sihnon_Exception_DatabaseQueryFailed($message, $driver_code);
}
}
return $result;
}
public function errorInfo() {