aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
committermistic100 <mistic@piwigo.org>2014-06-02 07:55:46 +0000
commit4bd32005b56f6ec741ceeed0a1745fe89f291085 (patch)
treee2ee9bb68d07822bb7c0122831a0ce313a5af2d2 /include/ws_functions
parentf98edc7a2e423bed534977107e4cb892180cb946 (diff)
feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/ws_functions/pwg.categories.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ws_functions/pwg.categories.php b/include/ws_functions/pwg.categories.php
index 5ed387e70..b2cfc2dd4 100644
--- a/include/ws_functions/pwg.categories.php
+++ b/include/ws_functions/pwg.categories.php
@@ -264,7 +264,7 @@ SELECT
else
{
$row['name'] = strip_tags(
- trigger_event(
+ trigger_change(
'render_category_name',
$row['name'],
'ws_categories_getList'
@@ -273,7 +273,7 @@ SELECT
}
$row['comment'] = strip_tags(
- trigger_event(
+ trigger_change(
'render_category_description',
$row['comment'],
'ws_categories_getList'
@@ -501,7 +501,7 @@ SELECT id, name, comment, uppercats, global_rank, dir
$row['nb_images'] = isset($nb_images_of[$id]) ? $nb_images_of[$id] : 0;
$row['name'] = strip_tags(
- trigger_event(
+ trigger_change(
'render_category_name',
$row['name'],
'ws_categories_getAdminList'
@@ -514,7 +514,7 @@ SELECT id, name, comment, uppercats, global_rank, dir
)
);
$row['comment'] = strip_tags(
- trigger_event(
+ trigger_change(
'render_category_description',
$row['comment'],
'ws_categories_getAdminList'
@@ -787,7 +787,7 @@ SELECT id, name, dir
if (!empty($row['dir']))
{
$row['name'] = strip_tags(
- trigger_event(
+ trigger_change(
'render_category_name',
$row['name'],
'ws_categories_move'