*/
public function __construct( $list, $types = [], $performer = '', $title = '',
$pattern = false, $conds = [], $year = false, $month = false, $day = false,
- $tagFilter = '', $action = '', $logId = false
+ $tagFilter = '', $action = '', $logId = 0
) {
parent::__construct( $list->getContext() );
$this->mConds = $conds;
}
}
# Don't show duplicate rows when using log_search
- $joins['log_search'] = [ 'INNER JOIN', 'ls_log_id=log_id' ];
+ $joins['log_search'] = [ 'JOIN', 'ls_log_id=log_id' ];
$info = [
'tables' => $tables,
return 'log_timestamp';
}
- public function getStartBody() {
+ protected function getStartBody() {
# Do a link batch query
if ( $this->getNumRows() > 0 ) {
$lb = new LinkBatch;