enhanced data model and sql builder.sh script to manage complex alter table scenario...
[brisk.git] / web / briskin5 / Obj / briskin5.phh
index 12a5230..e5389da 100644 (file)
@@ -446,9 +446,9 @@ class Bin5_table extends Table {
         return ($ct);
     }
 
-    function rules_engine($bri, $action, $user)
+    function rules_engine($bri, $curtime, $action, $user)
     {
-        GLOBAL $G_all_points;
+        GLOBAL $G_all_points, $G_dbasetype;
 
         $pts = array();
 
@@ -584,7 +584,7 @@ class Bin5_table extends Table {
             else {
                 log_points($remote_addr, $curtime, $user, "STAT:BRISKIN5:FINISH_GAME", "DATABASE CONNECTION FAILED");
             }
-            log_points($curtime, $user, "STAT:BRISKIN5:FINISH_GAME", $plist);
+            log_points($remote_addr, $curtime, $user, "STAT:BRISKIN5:FINISH_GAME", $plist);
         }
 
         $this->game_init(&$bri->user);