diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-01-03 21:29:59 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-01-03 21:29:59 +0000 |
commit | 9c55b0f45c77fea27e852ea51721eea49a2d805f (patch) | |
tree | 337e515a734bb1ae4dd4c0ffb355f12edab0a86d /admin | |
parent | 7c9c3eb42bc44143cf44a3c88ee553a0fe2e0b8e (diff) |
if category status changes, synchronize_all_users
git-svn-id: http://piwigo.org/svn/branches/release-1_3@255 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/cat_modify.php | 2 |
1 files changed, 2 insertions, 0 deletions
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'; |