From 4a8c25612482bb427a327e0f69fc3603a37d709a Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Fri, 13 May 2011 18:39:26 +0200 Subject: [PATCH] unlock_data without arg fixed --- web/briskin5/index_rd.php | 2 +- web/index_rd.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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()); } -- 2.17.1