Update _admin.php
This commit is contained in:
parent
a2fd9a3c87
commit
28b2a1766b
@ -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,5 @@
|
|||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) { return; }
|
if (!defined('DC_CONTEXT_ADMIN')) { return; }
|
||||||
|
|
||||||
$core->addBehavior('adminBlogPreferencesForm',
|
$core->addBehavior('adminBlogPreferencesForm', array('emailOptionnelBehaviors', 'adminBlogPreferencesForm'));
|
||||||
array('emailOptionnelBehaviors', 'adminBlogPreferencesForm'));
|
$core->addBehavior('adminBeforeBlogSettingsUpdate', array('emailOptionnelBehaviors', 'adminBeforeBlogSettingsUpdate'));
|
||||||
$core->addBehavior('adminBeforeBlogSettingsUpdate',
|
|
||||||
array('emailOptionnelBehaviors', 'adminBeforeBlogSettingsUpdate'));
|
|
||||||
|
Loading…
Reference in New Issue
Block a user