get_class -> class_exists for class loading hack (fixme for 1.0: make sure all these classes are in own files)

This commit is contained in:
Brion Vibber 2011-03-21 11:43:02 -07:00
parent 9fc6de6b37
commit 089c10d5d8

View File

@ -102,7 +102,7 @@ class NoticeSection extends Section
$this->out->elementEnd('p');
$this->out->elementStart('div', 'entry_content');
get_class('NoticeList');
class_exists('NoticeList');
$nli = new NoticeListItem($notice, $this->out);
$nli->showNoticeLink();
$this->out->elementEnd('div');