moodle/repository/equella
Cameron Ball 03756f0bdb
MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool
For historical reasons repositories need to call add_file_to_pool
to sync file records. However now that a before_file_created hook
has been added additional information is needed by add_file_to_pool.

Ideally add_file_to_pool and friends will become private/protected,
so we need to remove all uses of it in core.

This patch adds some new methods to the file class to allow syncing
to be managed internally by the file and the file_storage class.
2017-08-07 15:50:15 +08:00
..
db MDL-32117 equella: add missing MOODLE_INTERNAL + phpdocs tidy 2012-06-12 02:23:14 +02:00
lang/en MDL-33724 repository_equella: missing string 2012-06-14 17:01:39 +08:00
pix MDL-50175 graphics: Optimized PNG images with optipng 2016-02-25 11:56:37 +00:00
tests/generator MDL-39477 repository: Introducing data generators for repositories 2013-05-28 10:44:43 +08:00
callback.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
lib.php MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool 2017-08-07 15:50:15 +08:00
version.php MDL-58853 versions: bump all versions and requires near release 2017-05-09 02:58:28 +02:00