remove core from behaviors calls

2.28
Jean-Christian Paul Denis 2022-11-26 22:01:17 +01:00
parent c73bbf93dd
commit fbcb95a057
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 3 additions and 3 deletions

View File

@ -119,12 +119,12 @@ try {
$exclude = explode(',', $s->packman_pack_excludefiles); $exclude = explode(',', $s->packman_pack_excludefiles);
# --BEHAVIOR-- packmanBeforeCreatePackage # --BEHAVIOR-- packmanBeforeCreatePackage
dcCore::app()->callBehavior('packmanBeforeCreatePackage', dcCore::app(), $module); dcCore::app()->callBehavior('packmanBeforeCreatePackage', $module);
dcPackman::pack($module, $root, $files, $overwrite, $exclude, $nocomment, $fixnewline); dcPackman::pack($module, $root, $files, $overwrite, $exclude, $nocomment, $fixnewline);
# --BEHAVIOR-- packmanAfterCreatePackage # --BEHAVIOR-- packmanAfterCreatePackage
dcCore::app()->callBehavior('packmanAfterCreatePackage', dcCore::app(), $module); dcCore::app()->callBehavior('packmanAfterCreatePackage', $module);
} }
dcPage::addSuccessNotice( dcPage::addSuccessNotice(
@ -249,7 +249,7 @@ dcPage::jsPageTabs() .
dcPage::jsLoad(dcPage::getPF('pacKman/js/packman.js')); dcPage::jsLoad(dcPage::getPF('pacKman/js/packman.js'));
# --BEHAVIOR-- packmanAdminHeader # --BEHAVIOR-- packmanAdminHeader
dcCore::app()->callBehavior('packmanAdminHeader', dcCore::app()); dcCore::app()->callBehavior('packmanAdminHeader');
echo echo
'</head><body>' . '</head><body>' .