From 9c55b0f45c77fea27e852ea51721eea49a2d805f Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 3 Jan 2004 21:29:59 +0000 Subject: if category status changes, synchronize_all_users git-svn-id: http://piwigo.org/svn/branches/release-1_3@255 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_modify.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 5cd777979..4cf301cb5 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -53,6 +53,8 @@ if ( isset( $_POST['submit'] ) ) $query.= ' FROM '.PREFIX_TABLE.'user_access'; $query.= ' WHERE cat_id = '.$_GET['cat']; mysql_query( $query ); + // resynchronize all users + synchronize_all_users(); } $query = 'UPDATE '.PREFIX_TABLE.'categories'; -- cgit v1.2.3