MDL-54977 blocks_navigation: Use html_writer::random_id for id
authorJD <jdescoteaux@hotmail.com>
Tue, 12 Jul 2016 23:45:08 +0000 (19:45 -0400)
committerRajesh Taneja <rajesh@moodle.com>
Wed, 13 Jul 2016 06:04:16 +0000 (14:04 +0800)
commit560cea838b8ff2b975618f4ad02fb463cadc3979
tree9f153425d5d89ec828315f16f886938fac7533bc
parent5a1728df39116fc701cc907e85a638aa7674f416
MDL-54977 blocks_navigation: Use html_writer::random_id for id

uniqid() may returns the same id for faster machines (seen on iis)
so use html_writer::random_id(), to ensure id is different and
navigation don't break
blocks/navigation/renderer.php
blocks/settings/renderer.php