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 */
$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,