From: Matteo Nastasi (mop) Date: Fri, 13 May 2011 16:39:26 +0000 (+0200) Subject: unlock_data without arg fixed X-Git-Tag: 3.5.5~13 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=4a8c25612482bb427a327e0f69fc3603a37d709a;p=brisk.git unlock_data without arg fixed --- diff --git a/web/briskin5/index_rd.php b/web/briskin5/index_rd.php index 115f9b5..22903a2 100644 --- a/web/briskin5/index_rd.php +++ b/web/briskin5/index_rd.php @@ -98,7 +98,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su $S_load_stat['U_first_loop']++; if (($user = Bin5_user::load_data($table_idx, $proxy_step['i'], $sess)) == FALSE) { - Bin5::unlock_data(); + Bin5::unlock_data($sem); ignore_user_abort(FALSE); return (unrecerror()); } diff --git a/web/index_rd.php b/web/index_rd.php index fc8aa0c..d5c5d87 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -119,7 +119,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su // Aggiorna l'expire time lato server $S_load_stat['U_first_loop']++; if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) { - Room::unlock_data(); + Room::unlock_data($sem); ignore_user_abort(FALSE); return (unrecerror()); } @@ -131,7 +131,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su $S_load_stat['R_garbage']++; if (($room = Room::load_data()) == FALSE) { - Room::unlock_data(); + Room::unlock_data($sem); ignore_user_abort(FALSE); return (unrecerror()); } @@ -282,7 +282,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su $sem = Room::lock_data(); $S_load_stat['U_heavy']++; if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) { - Room::unlock_data(); + Room::unlock_data($sem); ignore_user_abort(FALSE); return (unrecerror()); }