Function statistics_recent_hits() defines 2 arguments that are not used.

This:

function statistics_recent_hits($type = 'all', $id = 0) {

Should look like:

function statistics_recent_hits() {

I have previously reported a couple of issues related to the statistics module:
http://drupal.org/node/47989
http://drupal.org/node/47426

...if patches applied, line numbers for this one wouldn't match.

CommentFileSizeAuthor
#1 47999.patch479 byteschx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

Priority: Normal » Minor
FileSize
479 bytes

remove.

chx’s picture

Status: Active » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)