more cssification of diff rendering, some " -> ' in diff engine
[lhc/web/wiklou.git] / includes / UserTalkUpdate.php
index 70c8486..306cd3c 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 # See deferred.doc
 
 class UserTalkUpdate {
@@ -48,7 +48,7 @@ class UserTalkUpdate {
                                }
                                
                                if($sql && !$user->getNewtalk()) { # only insert if real user and it's not already there
-                                       wfQuery( $sql, $fname );
+                                       wfQuery( $sql, DB_WRITE, $fname );
                                }
                        }
                }