* some comments (using # instead of /* */ )
[lhc/web/wiklou.git] / includes / DatabasePostgreSQL.php
index 6ada5ed..66c93d6 100644 (file)
@@ -321,6 +321,11 @@ class DatabasePgsql extends Database {
        function wasDeadlock() {
                return false;
        }
+
+        # Return DB-style timestamp used for MySQL schema
+        function timestamp( $ts=0 ) {
+                return wfTimestamp(TS_DB,$ts);
+        }
 }
 
 # Just an alias.