watchdog('cron', 'Number of sessions deleted: ' . $num_updated);

This will create a translation string per call (assuming $num_updated changes every time).

Comments

lex0r’s picture

StatusFileSize
new2.19 KB

Fixed the translation issue. Also, added some extra time intervals to allow a more frequent clean-up.
Patch is against alpha1 version.

laurentchardin’s picture

Assigned: Unassigned » laurentchardin
Status: Active » Needs review
StatusFileSize
new1.48 KB

Patch rebased on latest dev HEAD.

I removed the interval part of it, since it was removed in between with dwightaspinwall change.
I still fail however to understand #934876, because it actually introduces some regressions.

So i'll the current state of your patch to merge it. And will review #934876 again.

laurentchardin’s picture

Status: Needs review » Closed (fixed)

Merged in dev branch.