aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ws_functions/pwg.groups.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ws_functions/pwg.groups.php b/include/ws_functions/pwg.groups.php
index 3ae200bec..57b4766b8 100644
--- a/include/ws_functions/pwg.groups.php
+++ b/include/ws_functions/pwg.groups.php
@@ -149,6 +149,9 @@ DELETE
;';
pwg_query($query);
+ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
+ invalidate_user_cache();
+
return new PwgNamedArray($groupnames, 'group_deleted');
}
@@ -246,6 +249,7 @@ SELECT COUNT(*)
array('ignore'=>true)
);
+ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
invalidate_user_cache();
return $service->invoke('pwg.groups.getList', array('group_id' => $params['group_id']));
@@ -280,6 +284,7 @@ DELETE FROM '. USER_GROUP_TABLE .'
;';
pwg_query($query);
+ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
invalidate_user_cache();
return $service->invoke('pwg.groups.getList', array('group_id' => $params['group_id']));