mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
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
This commit is contained in:
@@ -1395,6 +1395,8 @@ function ws_categories_add($params, &$service)
|
||||
return new PwgError(500, $creation_output['error']);
|
||||
}
|
||||
|
||||
invalidate_user_cache();
|
||||
|
||||
return $creation_output;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user