Commit 9022cd56 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove calls to theme_get_url

parent cbb73fcc
......@@ -118,7 +118,7 @@ if (empty($records)) {
$records = array();
}
$data = array();
$star = theme_get_url('images/star.png');
$star = $THEME->get_url('images/star.png');
$unread = get_string('unread', 'activity');
foreach ($records as &$r) {
......
......@@ -49,7 +49,7 @@ if ($USER->get('admin')) {
$morestr = get_string('more...');
$star = json_encode(theme_get_url('images/star.png'));
$star = json_encode($THEME->get_url('images/star.png'));
$unread = json_encode(get_string('unread', 'activity'));
$javascript = <<<JAVASCRIPT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment