MDL-33950 check if source file is accessible in repository_ajax.php
authorMarina Glancy <marina@moodle.com>
Thu, 28 Jun 2012 03:50:17 +0000 (11:50 +0800)
committerMarina Glancy <marina@moodle.com>
Fri, 6 Jul 2012 01:44:07 +0000 (09:44 +0800)
- repository::copy_to_area() does not check access any more, and repository_recent::copy_to_area() is unnecessary
- added repository::file_is_accessible() that checks access to the picked file (regardless of accessibility of the file it is referencing to)


No differences found