I wrote a PHP-script to remove a module. It does the following:
For all collections with this module_id:
Is there an assessment with this collection_Id ? If yes, fail to remove the module
Otherwise, find all user_groups with this collection_id
For all these groups:
remove all its user_group_member records, then remove the group itself
Now remove the collection
For all form_modules with this module_id:
You might want to check whether the form that the form_module was using is still needed elsewhere
Remove the form_module
Delete all user_module records with this module_id
You might want to check whether a user of this module is still present in another module;
If not, you might want to remove his user_tracking records and maybe even the user itself
Finally delete the module
René.
________________________________________
Van: WebPA [[log in to unmask]] namens David Delaney [[log in to unmask]]
Verzonden: vrijdag 28 februari 2014 13:09
Aan: [log in to unmask]
Onderwerp: deleting a module
Hi
I am trying to delete a module from webpa.
I have gone into mysql and tried
Deleting the module from the pa2_module table but get an error.
Could someone point me in the wright direction to remove a module.
Thanks
Dave
David Delaney
Blackboard Support
Tel: 716-2456
http://www.ucd.ie/itservices/teachinglearningit/virtuallearning/blackboard/
|