use new testVersion method
This commit is contained in:
parent
b503f5efc5
commit
3da605b8cf
1 changed files with 4 additions and 2 deletions
|
@ -14,8 +14,10 @@ if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dcCore::app()->getVersion('zoneclearFeedServer') != dcCore::app()->plugins->moduleInfo('zoneclearFeedServer', 'version')
|
if (0 !== dcCore::app()->testVersion(
|
||||||
) {
|
basename(__DIR__),
|
||||||
|
dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version')
|
||||||
|
)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue