From 22f3522d6a5d7854817327b1d648c1d19c340551 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 10 Dec 2022 01:24:24 +0100 Subject: [PATCH] oups --- _admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_admin.php b/_admin.php index 16af95b..bba762a 100644 --- a/_admin.php +++ b/_admin.php @@ -41,8 +41,8 @@ if (dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([ dcCore::app()->addBehavior('adminAfterPageCreate', ['templatorBehaviors','adminBeforePostUpdate']); dcCore::app()->addBehavior('adminBeforePageUpdate', ['templatorBehaviors','adminBeforePostUpdate']); - dcCore::app()->addBehavior('adminPostsActionsV2', ['templatorBehaviors','adminPostsActionsV2']); - dcCore::app()->addBehavior('adminPagesActionsV2', ['templatorBehaviors','adminPostsActionsV2']); + dcCore::app()->addBehavior('adminPostsActions', ['templatorBehaviors','adminPostsActions']); + dcCore::app()->addBehavior('adminPagesActions', ['templatorBehaviors','adminPostsActions']); dcCore::app()->addBehavior('adminFiltersListsV2', function (ArrayObject $sorts) { $sorts['templator'] = [ @@ -94,7 +94,7 @@ class templatorBehaviors } } - public static function adminPostsActionsV2(dcPostsActions $pa) + public static function adminPostsActions(dcPostsActions $pa) { $pa->addAction( [