MDL-37781 Allocate workshop submissions without waiting for cron
commit337c3fa74cb92a571112f498ae7cf36674b3589c
authorDavid Mudrák <david@moodle.com>
Thu, 31 Jan 2013 02:31:57 +0000 (31 03:31 +0100)
committerDavid Mudrák <david@moodle.com>
Thu, 31 Jan 2013 02:38:21 +0000 (31 03:38 +0100)
treef7b878bcbd65787f513337a5608a6a1867031f40
parent351aeeeba67d3f7f596362b8869249147169174c
MDL-37781 Allocate workshop submissions without waiting for cron

Now we are checking for the need to execute the allocator every time the
main view.php is displayed to any user. Previously this was done by cron
only.
mod/workshop/allocation/scheduled/db/events.php [copied from mod/workshop/allocation/scheduled/version.php with 66% similarity]
mod/workshop/allocation/scheduled/lib.php
mod/workshop/allocation/scheduled/version.php