http://api.drupal.org/api/function/sess_count/5 => this documentation should be remove.
"Any other value will return the count of both authenticated and anonymous users." => this sentence is not handled anymore by the current version of the function code.

function sess_count($timestamp = 0, $anonymous = true) {
  $query = $anonymous ? ' AND uid = 0' : ' AND uid > 0';
  return db_result(db_query('SELECT COUNT(sid) AS count FROM {sessions} WHERE timestamp >= %d'. $query, $timestamp));
}

Comments

jhodgdon’s picture

Status: Active » Closed (won't fix)

7.0 is out tomorrow, 5.x is obsolete, won't fix, sorry.