Update _public.php

This commit is contained in:
Pierre 2021-11-11 00:21:13 +01:00 committed by GitHub
parent dd582edee8
commit 3c5446a899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
# -- BEGIN LICENSE BLOCK ---------------------------------- # -- BEGIN LICENSE BLOCK ----------------------------------
# This file is part of Email Optionnel, a plugin for Dotclear. # This file is part of Email Optionnel, a plugin for Dotclear.
# #
# Copyright (c) 2007-2015 Oleksandr Syenchuk, Pierre Van Glabeke # Copyright (c) 2007-2020 Oleksandr Syenchuk, Pierre Van Glabeke, Gvx
# #
# Licensed under the GPL version 2.0 license. # Licensed under the GPL version 2.0 license.
# A copy is available in LICENSE file or at # A copy is available in LICENSE file or at
@ -10,7 +10,6 @@
# -- END LICENSE BLOCK ------------------------------------ # -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) { return; } if (!defined('DC_RC_PATH')) { return; }
$core->addBehavior('publicPrepend', $core->addBehavior('publicPrepend', array('emailOptionnelBehaviors','publicPrepend'));
array('emailOptionnelBehaviors','publicPrepend')); $core->addBehavior('publicBeforeCommentCreate', array('emailOptionnelBehaviors','publicBeforeCommentCreate'));
$core->addBehavior('publicBeforeCommentCreate', $core->addBehavior('publicHeadContent', array('emailOptionnelBehaviors','publicHeadContent'));
array('emailOptionnelBehaviors','publicBeforeCommentCreate'));