mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
issue 87 check checkUpdate method in module class
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8628 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a7b5747b59
commit
ce9d4f1af2
1 changed files with 4 additions and 1 deletions
|
|
@ -376,7 +376,10 @@
|
|||
$this->installModule($module, sprintf('./modules/%s', $module));
|
||||
|
||||
$oModule = &getClass($module);
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
if(is_object($oModule) && method_exists($oModule, 'checkUpdate'))
|
||||
{
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
}
|
||||
}
|
||||
unset($modules[$category]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue