MDL-40759 icons: Rename activity_icon

image_icon is a better name because there are some valid uses for these other than for activity icons.

E.g. Old JS code that is not worth re-writing.
This commit is contained in:
Damyon Wiese
2017-03-17 15:52:18 +08:00
parent 8857c715d1
commit 3e6adcd69c
22 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class block_feedback extends block_list {
$courseid = SITEID;
}
$icon = $OUTPUT->activity_icon('icon', get_string('pluginname', 'mod_feedback'), 'mod_feedback');
$icon = $OUTPUT->image_icon('icon', get_string('pluginname', 'mod_feedback'), 'mod_feedback');
if (empty($this->instance->pageid)) {
$this->instance->pageid = SITEID;