General help

How Do You Delete Old Assignments?

 
 
Just wondering . . .
Re: How Do You Delete Old Assignments?
Group Particularly helpful Moodlers

What happens if you delete the assignment module?

Do all the assignments get deleted in some sort of cron process?

Do grades get deleted?

-Derek

 
Average of ratings: -
Picture of Perry Way
Re: How Do You Delete Old Assignments?
Group Particularly helpful Moodlers

Q: What happens if you delete the assignment module?

A: The folder containing the source code gets deleted ultimately, plus the tables to support the module if they are tables only for that module. (i.e. most modules use the `mdl_user` table but it's not part of their module)

Q: Do all the assignments get deleted in some sort of cron process?

A: Not exactly. What happens is there is a definition of how a module is supposed to implement code. Some of those items are callback functions which are called when you delete the module. One of those callbacks generally contains all the database code to drop the tables that that module relies on and created when you installed the module.

Q: Do grades get deleted?

A: I do not know the answer to this one, sorry! Would like to know, though, because I have a curious mind!

 
Average of ratings: -