Skip to content

Commit

Permalink
merge r11328 from branch 2.2 to trunk
Browse files Browse the repository at this point in the history
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
  • Loading branch information
plegall committed Jun 11, 2011
1 parent fba51f0 commit 144535f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin.php
Expand Up @@ -72,7 +72,8 @@
// | 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();
}
Expand Down

0 comments on commit 144535f

Please sign in to comment.