X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Flogging%2FLogPage.php;h=d5f5de3000b568c6436c37fd4d3fe1ff6ea69a82;hb=552d285184a2ba312700304c7e7414d567966bd9;hp=fe9e26f7d37dcc3c68d7db88108f41ab7e5f0cf8;hpb=a3b4288eacd34869b13f59782b73c9ddb75e3523;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index fe9e26f7d3..d5f5de3000 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -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,