aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2008-10-03 20:38:12 +0000
committerplegall <plg@piwigo.org>2008-10-03 20:38:12 +0000
commit54cf9362f50b03ed00125f8a220e15a85ceaa106 (patch)
tree9bfea7620084c861094d4b6b09f99bb3b5e36fd0 /include
parent3d1b35b8c9f12ffb4fe244379a512877d7c2d37a (diff)
bug 880 fixed: pwg.categories.add invalidate the user cache so that the new
category is added to the user category tree. git-svn-id: http://piwigo.org/svn/trunk@2644 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/ws_functions.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 2462832e5..31167e1ad 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1395,6 +1395,8 @@ function ws_categories_add($params, &$service)
return new PwgError(500, $creation_output['error']);
}
+ invalidate_user_cache();
+
return $creation_output;
}