The docs for sess_count() don't entirely match the implementation. The function either returns the number of anonymous sessions or the number of authenticated sessions, but never both.

Comments

dries’s picture

In the documentation, the parameter type is set as int, but it should probably be a boolean too? It is pretty minor but probably worth tacking onto this patch.

bart jansens’s picture

StatusFileSize
new1.01 KB

Oops, missed that one. Here is an updated patch.

dries’s picture

Status: Needs review » Fixed

Thanks Bart. I've committed your last patch to DRUPAL-6 and CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.