]> git.mjollnir.org Git - moodle.git/commit
accesslib: Introducing cleanup_contexts() and use it in cron
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 06:50:53 +0000 (06:50 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 06:50:53 +0000 (06:50 +0000)
commit17b0efae11390b6aabc387e2c8a618ac81d28bfa
tree6f38581ed68d0c08b12d726571adddd5c5c9bb72
parent40e0bea5cc290feb39186a33e125f6207b861f5f
accesslib: Introducing cleanup_contexts() and use it in cron

The newly minted cleanup_contexts() walks the context table
matching contexts with the tables they are referencing and
clearing any leftover contexts.
admin/cron.php
lib/accesslib.php