friendica/red — pull request #309 by beardy-unixer (2014-02-11 20:18:17+00:00)
Title: Clear out old notifications in the poller.

I'm starting to see the occasional query for notifications in the slow log. There doesn't seem to be much we can do about the queries, so the next best thing is probably keeping the table small. Leaving them around for thirty days leaves some fudge for a 'recent activity' type module if anyone needs one in future.