From: Marina Glancy Date: Thu, 28 Jun 2012 03:50:17 +0000 (+0800) Subject: MDL-33950 check if source file is accessible in repository_ajax.php X-Git-Tag: v2.4.0-beta~1060^2~2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=1bd017474365cd13efa13753c6bf6825ebbc29dc;hp=1bd017474365cd13efa13753c6bf6825ebbc29dc MDL-33950 check if source file is accessible in repository_ajax.php - 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) ---