mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 01:12:29 +02:00
merge r11328 from branch 2.2 to trunk
bug 2339 fixed: admin.php calls sync_users() only if external_authentification is true, not at random git-svn-id: http://piwigo.org/svn/trunk@11329 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -72,7 +72,8 @@ if (isset($_GET['change_theme']))
|
||||
// | Synchronize user informations |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
if (mt_rand(0,9)==0)
|
||||
// sync_user() is only useful when external authentication is activated
|
||||
if ($conf['external_authentification'])
|
||||
{
|
||||
sync_users();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user