Retrive deleted unit plan

Installation, OS related topics. Topics for installation issues and operating system issues related to TODCM.

Retrive deleted unit plan

Postby ammarmerhbi » March 8th, 2017, 7:12 pm

Hi
Some teachers have deleted the unit plan by mistake (clicked delete published unit instead of publish unit). Is there a way to retrieve the unit plan?

Thanks,
ammarmerhbi
 
Posts: 9
Joined: August 5th, 2012, 12:04 pm

Re: Retrive deleted unit plan

Postby David Tong » March 10th, 2017, 9:10 am

Yes, but you have to edit the MySQL database directly. The "status" field in the unit table is what you need to edit. Find the deleted unit and change the status flag from 4 to 1; there could be multiple units with the same title so make sure you have the latest one. Value 1 is for published units and value 2 is for editing units. The unit will show again on the site once the database edit is done. But, all the uploaded files had been permanently deleted so you will have dead file links if there were uploaded files.
David Tong - TODCM Founder.
http://todcm.org - TODCM open source project site.
http://www.tillersoft.net - Operator and maintainer of the TODCM project.
David Tong
TODCM Team
 
Posts: 94
Joined: June 4th, 2011, 4:17 pm

Re: Retrive deleted unit plan

Postby ammarmerhbi » March 10th, 2017, 3:54 pm

Hi David,

Thanks a lot. This was very helpful!!!

Any news about the Moodle-TODCM integration?

Best regards,
ammarmerhbi
 
Posts: 9
Joined: August 5th, 2012, 12:04 pm


Return to System Admin

Who is online

Users browsing this forum: No registered users and 1 guest

cron