mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
if associate or dissociate from a group, synchronize_user
git-svn-id: http://piwigo.org/svn/branches/release-1_3@260 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -103,6 +103,8 @@ if ( isset( $_POST['submit'] ) )
|
||||
$query.= ' ('.$_GET['user_id'].','.$_POST['associate'].')';
|
||||
$query.= ';';
|
||||
mysql_query( $query );
|
||||
// synchronize category informations for this user
|
||||
synchronize_user( $_GET['user_id'] );
|
||||
}
|
||||
//-------------------------------------------------------------- errors display
|
||||
if ( sizeof( $error ) != 0 )
|
||||
|
||||
Reference in New Issue
Block a user