Merge "Provide command to adjust phpunit.xml for code coverage"
[lhc/web/wiklou.git] / includes / logging / LogPage.php
index fe9e26f..d5f5de3 100644 (file)
@@ -58,7 +58,8 @@ class LogPage {
        private $type;
 
        /** @var string One of '', 'block', 'protect', 'rights', 'delete',
-        *   'upload', 'move', 'move_redir' */
+        *   'upload', 'move', 'move_redir'
+        */
        private $action;
 
        /** @var string Comment associated with action */
@@ -93,8 +94,7 @@ class LogPage {
 
                $dbw = wfGetDB( DB_MASTER );
 
-               // @todo FIXME private/protected/public property?
-               $this->timestamp = $now = wfTimestampNow();
+               $now = wfTimestampNow();
                $data = [
                        'log_type' => $this->type,
                        'log_action' => $this->action,