files MDL-19799 Fixed up call to deprecated function notice
authorSam Hemelryk <sam@moodle.com>
Wed, 22 Sep 2010 08:39:28 +0000 (08:39 +0000)
committerSam Hemelryk <sam@moodle.com>
Wed, 22 Sep 2010 08:39:28 +0000 (08:39 +0000)
files/index.php

index c1d7e16..f2e8a6d 100644 (file)
@@ -76,7 +76,7 @@ if ($file_info) {
     //$options['visible_areas'] = array('backup'=>array('section', 'course'), 'course'=>array('legacy'), 'user'=>array('backup'));
     echo $output->files_tree_viewer($file_info, $options);
 } else {
-    notify(get_string('nofilesavailable', 'repository'));
+    echo $output->notification(get_string('nofilesavailable', 'repository'));
 }
 
 echo $output->box_end();