Deleting files from private space

Deleting files from private space

par Mahmood Naderan,
Nombre de réponses : 2

Hi

If I delete some files from the private space, are they gone to the recycle bin? Or they are deleted immediately?


Moyenne des évaluations  -
En réponse à Mahmood Naderan

Re: Deleting files from private space

par Helen Foster,
Avatar Core developers Avatar Documentation writers Avatar Moodle HQ Avatar Particularly helpful Moodlers Avatar Plugin developers Avatar Testers Avatar Translators

Hi,

Only deleted activities in a course or deleted courses end up in the recycle bin. If you delete files from your private space, they are gone!

En réponse à Mahmood Naderan

Re: Deleting files from private space

par Ken Task,
Avatar Particularly helpful Moodlers

One way to find out where they go ...

delete 1 file (jot down it's humanly recognizable filename) and save.

Then go to mysql client and query mdl_files for filename=whateveryoudelted to see if it's now in trashdir.

OR query for contenthash and from cli in moodledata/filedir find contenthash.   Then do same for moodledata/trashdir/

'SoS', Ken