X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FFactoids%2FUpdate.pl;h=07b8ec6e1c9bbaa413f6dcb15af7e76833c09b2f;hb=99f86352e2eff21f5eef65c16c41b44e1bfa17b6;hp=d0b57d13968f3587698b74dd67e093cacbfe1ba7;hpb=857f3b7001b806dc469cb958d268f920a8017680;p=infobot.git diff --git a/src/Factoids/Update.pl b/src/Factoids/Update.pl index d0b57d1..07b8ec6 100644 --- a/src/Factoids/Update.pl +++ b/src/Factoids/Update.pl @@ -224,9 +224,9 @@ sub update { &status("update: <$who> \'$lhs\' =$mhs=> \'$rhs\'; was \'$exists\'"); # should dbReplace be used here? - &delFactoid($lhs); - &setFactInfo($lhs,"created_by", $nuh); - &setFactInfo($lhs,"created_time", time()); + #&delFactoid($lhs); # breaks dbm. leave it and use modified_* - Tim Riker + &setFactInfo($lhs,"modified_by", $nuh); + &setFactInfo($lhs,"modified_time", time()); &setFactInfo($lhs,"factoid_value", $rhs); if (!defined $rhs or $rhs eq "") {