Fix PHP Recoverable Error in cron job. Move database code to resource model and do not load logs into memory before deleting them.
Merge pull request #3 from colinmollenhour/master

Fix PHP Recoverable Error in cron job. Move database code to resource mo...