merge r12747 from branch 2.3 to trunk

bug 2534 fixed: clean (as clean as possible with MySQL+MyISAM) handle of
concurrency on user cache refresh. No more error when regenerating several
thumbnails at once.



git-svn-id: http://piwigo.org/svn/trunk@12748 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-12-16 13:53:24 +00:00
parent c92140a9ff
commit d827eacab4
3 changed files with 16 additions and 10 deletions
-6
View File
@@ -42,12 +42,6 @@ foreach ($upload_form_config as $param_shortname => $param)
$form_values[$param_shortname] = $conf[$param_name];
}
// User cache must not be regenerated during simultaneous ajax requests
if (!isset($user['need_update']) or !$user['need_update'])
{
getuserdata($user['id'], true);
}
// +-----------------------------------------------------------------------+
// | Check Access and exit when user status is not ok |
// +-----------------------------------------------------------------------+