Code

update: function set_last_system deleted at gosaTriggered.pm
[gosa.git] / gosa-si / modules / DBsqlite.pm
index d1bd03d23ab77882702dbccd206922c89c833a89..a571a7bb62dec4fbd8f408e9f40df6f220058399 100644 (file)
@@ -26,8 +26,8 @@ sub new {
     $self->{dbh} = $dbh;
     $self->{db_name} = $db_name;
     $self->{db_lock} = $lock;
-    bless($self,$class);
 
+    bless($self,$class);
     return($self);
 }
 
@@ -117,7 +117,7 @@ sub add_dbentry {
                my $create_id=0;
                foreach my $col_name (@{$col_names}) {
                        if($col_name eq "id" && (! exists $arg->{$col_name})) {
-                               &main::daemon_log("0 DEBUG: id field found without value! Creating autoincrement statement!", 7);
+                               #&main::daemon_log("0 DEBUG: id field found without value! Creating autoincrement statement!", 7);
                                $create_id=1;
                        }
                }
@@ -157,7 +157,7 @@ sub add_dbentry {
                        return (4, $sql_statement);
                } 
 
-               # entry already exists -> run update
+       # entry already exists -> run update
        } else  {
                my @update_l;
                while( my ($pram, $val) = each %{$arg} ) {