From fbcb95a05798cc94252113bdc92ad5b4fcb5aa40 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 26 Nov 2022 22:01:17 +0100 Subject: [PATCH] remove core from behaviors calls --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index cf023aa..697cc62 100644 --- a/index.php +++ b/index.php @@ -119,12 +119,12 @@ try { $exclude = explode(',', $s->packman_pack_excludefiles); # --BEHAVIOR-- packmanBeforeCreatePackage - dcCore::app()->callBehavior('packmanBeforeCreatePackage', dcCore::app(), $module); + dcCore::app()->callBehavior('packmanBeforeCreatePackage', $module); dcPackman::pack($module, $root, $files, $overwrite, $exclude, $nocomment, $fixnewline); # --BEHAVIOR-- packmanAfterCreatePackage - dcCore::app()->callBehavior('packmanAfterCreatePackage', dcCore::app(), $module); + dcCore::app()->callBehavior('packmanAfterCreatePackage', $module); } dcPage::addSuccessNotice( @@ -249,7 +249,7 @@ dcPage::jsPageTabs() . dcPage::jsLoad(dcPage::getPF('pacKman/js/packman.js')); # --BEHAVIOR-- packmanAdminHeader -dcCore::app()->callBehavior('packmanAdminHeader', dcCore::app()); +dcCore::app()->callBehavior('packmanAdminHeader'); echo '' .