How to restrict delete activity after particular time

Re: How to restrict delete activity after particular time

by Dominique Palumbo -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi,

it seems it's just a little copy/paste problem.

I do the modifications, just compare with your original file to see the differences and specially if you have modify it.

In this example it remove the delete all the time... You'll have to add code to check date and time but you already have it.

Dominique

In reply to Dominique Palumbo

Re: How to restrict delete activity after particular time

by Monika Gujar -
after adding the same code I am not able to delete any session, where I wanted to restrict the session from deleting for a particular time. But thanks smile atleast we can stop the session from deleting