MDL-33093 invalidate the thumbnail in the local browser's cache on update
authorDavid Mudrak <david@moodle.com>
Fri, 18 May 2012 20:17:41 +0000 (22:17 +0200)
committerMarina Glancy <marina@moodle.com>
Mon, 21 May 2012 03:57:56 +0000 (11:57 +0800)
commit3333e7e20c817c94273c216f6bb3b41641c693dc
treedba2ed5817aa96fe46ffeb01fdeb92b6a3ab8533
parentb53fad1e8b1b5c77454587fa85046b10903233c9
MDL-33093 invalidate the thumbnail in the local browser's cache on update

This adds &oid= parameter to the URL of file preview images. The
parameter is supposed to be ignored by draftfile.php and pluginfile.php.
It just holds some unique identification of the original file's
revision. Currently, we use the timestamp of the most recent
modification of the original file.
lib/filelib.php
repository/coursefiles/lib.php
repository/local/lib.php
repository/recent/lib.php
repository/user/lib.php