From: Matteo Nastasi (mop) Date: Tue, 16 Jan 2007 19:54:27 +0000 (+0000) Subject: spostate add_user e get_user nella classe brisk X-Git-Tag: 3.0.0~368 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=15771956de22e6bc437f3ed2d4e503e3384ebd4f;p=brisk.git spostate add_user e get_user nella classe brisk --- diff --git a/web/index_rd.php b/web/index_rd.php index 6dcb6e9..2c69a2b 100644 --- a/web/index_rd.php +++ b/web/index_rd.php @@ -65,7 +65,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su $bri = &load_data(); // Aggiorna l'expire time lato server if ($first_loop == TRUE) { - if (($user = &get_user($bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { unlock_data($sem); return (unrecerror()); } @@ -85,7 +85,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su return (FALSE); } - if (($user = &get_user(&$bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { return (unrecerror()); } @@ -99,7 +99,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su // FUNZIONE from_scratch DA QUI $sem = lock_data(); $bri = &load_data(); - if (($user = &get_user($bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { unlock_data($sem); return (unrecerror()); } @@ -148,7 +148,7 @@ function maincheck($sess, $cur_stat, $cur_subst, $cur_step, &$new_stat, &$new_su else { $sem = lock_data(); $bri = &load_data(); - if (($user = &get_user($bri, $sess, $idx)) == FALSE) { + if (($user = &$bri->get_user($sess, $idx)) == FALSE) { unlock_data($sem); return (unrecerror()); } diff --git a/web/index_wr.php b/web/index_wr.php index 0f20a7b..ca9f78c 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -36,7 +36,7 @@ log_wr($sess, 'COMM: '.$mesg); $sem = lock_data(); $bri = &load_data(); -if (($user = &get_user($bri, $sess, &$idx)) == FALSE) { +if (($user = &$bri->get_user($sess, &$idx)) == FALSE) { echo "Get User Error"; log_wr($sess, "Get User Error"); unlock_data($sem);