MDL-31006 fix various notices in PHP54

PHP54 compatibility
This commit is contained in:
Petr Skoda
2012-01-18 01:03:20 +01:00
committed by Eloy Lafuente (stronk7)
parent ae924874d7
commit b85b25ebb8
34 changed files with 71 additions and 17 deletions
+1
View File
@@ -171,6 +171,7 @@ if (($delete = optional_param('delete', '', PARAM_PLUGIN)) && confirm_sesskey())
// Remove event handlers and dequeue pending events
events_uninstall('qtype_' . $delete);
$a = new stdClass();
$a->qtype = $qtypename;
$a->directory = $qtypes[$delete]->plugin_dir();
echo $OUTPUT->box(get_string('qtypedeletefiles', 'question', $a), 'generalbox', 'notice');