another loose global

git-svn-id: file:///home/shish/svn/shimmie2/trunk@995 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-08-22 13:10:22 +00:00
parent 09b2be6830
commit 8074be77a7

View file

@ -15,7 +15,6 @@ class Emoticons extends Extension {
}
private function bbcode_to_html($text) {
global $config;
$data_href = get_base_href();
$text = preg_replace("/:([a-z]*?):/s", "<img src='$data_href/ext/emoticons/default/\\1.gif'>", $text);
return $text;