MDL-59505 oauth2: Fix storage of access controlled links
authorDavid Mudrák <david@moodle.com>
Fri, 15 Sep 2017 13:13:05 +0000 (15:13 +0200)
committerDavid Mudrák <david@moodle.com>
Thu, 21 Sep 2017 20:17:03 +0000 (22:17 +0200)
commite0a903243be16b461cedfc223d59abe42bd527a2
tree82d07f1b212e8af7a2b5d63329c47107f17ee33c
parent91cbdda6afdd415dc7df41257a9d75fc16f2e821
MDL-59505 oauth2: Fix storage of access controlled links

When files are copied into the system account's drive, they are put into
folders respecting the structure of contexts. Folder names were based on
context names only and so were likely to collide (such as with users
with the same name).

The patch ads context instance identifiers to the name so that they can
be identified more reliably.
repository/googledocs/lib.php
repository/onedrive/lib.php