MDL-51306 mod_folder: Use context_module to find details
authorRajesh Taneja <rajesh@moodle.com>
Wed, 10 Feb 2016 07:18:26 +0000 (15:18 +0800)
committerDavid Monllao <davidm@moodle.com>
Wed, 10 Feb 2016 07:51:31 +0000 (15:51 +0800)
commitcd6e7e0da0cb325fd4fa89445b22034fde447fff
tree90ea715f8aa04de4a9a66986476c862259f5bedd
parent985dca606fce2b552c5562060f1e88f97e565403
MDL-51306 mod_folder: Use context_module to find details

renderable should not be used for extracting
details. Use cm to get context and dir information
mod/folder/download_folder.php
mod/folder/lib.php
mod/folder/renderer.php