module이 없는 경우에 애드온 활성화되면 아예 생성이 안되는 문제 해결


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4558 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-09-25 06:56:50 +00:00
parent 0a4a9f04a7
commit 008840f5c4

View file

@ -13,6 +13,7 @@
return;
}
$oController = &getController('tccommentnotify');
if(!$oController) return;
$oController->procNotifyReceived();
return;
}
@ -20,6 +21,7 @@
if($called_position == "after_module_proc")
{
$oModel = &getModel('tccommentnotify');
if(!$oModel) return;
if($oModel->checkShouldNotify())
{
$scriptCode = <<<EndOfScript