Before canUse
This commit is contained in:
parent
cdbc134d2e
commit
df335ac9d0
@ -93,9 +93,9 @@ class Credit extends Scores_Ws_Server
|
||||
*/
|
||||
public function payCredit($ligneCredit='')
|
||||
{
|
||||
$this->authenticate();
|
||||
$this->permission($this->libdroits);
|
||||
$PayCreditResult=new PayCredit();
|
||||
$this->authenticate();
|
||||
$ir=(array)json_decode($ligneCredit);
|
||||
$tab=explode('ww',$ir['idCmd']);
|
||||
$verifid=$tab[0];
|
||||
@ -173,7 +173,7 @@ class Credit extends Scores_Ws_Server
|
||||
* Vérifie le droit de consommer une page
|
||||
* @param $idLog
|
||||
* @return canUse
|
||||
*/
|
||||
|
||||
public function canUse($idLog)
|
||||
{
|
||||
$canUse=new canUse();
|
||||
|
Loading…
Reference in New Issue
Block a user