learnweb / moodle-repository_owncloud

[ARCHIVE] Starting Moodle 3.6, our plugin ships with Moodle! :tada: Use this:
https://docs.moodle.org/en/Nextcloud_repository
GNU General Public License v3.0
8 stars 8 forks source link

Access controlled links: Move shared file into a unique location #41

Open Dagefoerde opened 5 years ago

Dagefoerde commented 5 years ago

Right now, moving an ACL file in viewers' private storage fails if a file by that name already exists. Note that this doesn't prevent the plugin from working, the viewer still gets access. But it remains in the root folder of the private storage, instead of being moved to the Moodlefiles directory.

This patch was backported from a change that happened in the context of MDL-58943.