MDL-28221 resource: improved file not found handling
authorDavid Mudrak <david@moodle.com>
Mon, 11 Jul 2011 10:12:38 +0000 (12:12 +0200)
committerDavid Mudrak <david@moodle.com>
Mon, 11 Jul 2011 21:30:28 +0000 (23:30 +0200)
commit498c722d0f076bbc9152eb171ed4ac8cf4d29002
treef1f8dff4be308d07e36e112a914b3d2071df6e5c
parentc6c9a3bcdb4f4ea24a8068e03cb902de4832374a
MDL-28221 resource: improved file not found handling

When the referenced file is not found, do not rely on the record in
resource_old as the resource can be actually restored from a 1.9 backup.
mod/resource/locallib.php