MDL-24091 workshop: deleting subplugins data together with the workshop instance

This commit is contained in:
David Mudrak 2010-09-17 13:24:52 +00:00
parent 8b6f4e6626
commit 346af1a431
12 changed files with 153 additions and 5 deletions

View file

@ -322,6 +322,19 @@ class workshop_manual_allocator implements workshop_allocator {
return $pagingbarout . $wsoutput->status_message($msg) . $uioutput->display_allocations($data) . $pagingbarout;
}
/**
* Delete all data related to a given workshop module instance
*
* This plugin does not store any data.
*
* @see workshop_delete_instance()
* @param int $workshopid id of the workshop module instance being deleted
* @return void
*/
public static function delete_instance($workshopid) {
return;
}
/**
* Returns the list of all allocations where the given users are involved
*