MDL-40922 mod_folder: replaced the 'view' and 'view all' add_to_log calls with an event