much friendlier get_theme_object

git-svn-id: file:///home/shish/svn/shimmie2/trunk@1019 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2008-09-06 16:59:02 +00:00
parent 1f0e363645
commit f8f7470e61
33 changed files with 37 additions and 35 deletions

View File

@ -11,7 +11,7 @@ class Tagger implements Extension {
public function receive_event ($event) {
if(is_null($this->theme))
$this->theme = get_theme_object("tagger", "taggerTheme");
$this->theme = get_theme_object($this);
if($event instanceof DisplayingImageEvent) {
global $page, $config, $user;