Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->Userdriver->id=$userdriverid;
- $this->Userdriver->set('user_id',$userid);
- $this->Userdriver->set('comment',NULL);
- $this->Userdriver->set('price',NULL);
- $this->Userdriver->set('state',1);
- $this->Userdriver->save();
- $score=50;
- $this->Userdriver->User->updateAll(array
- ('User.score' => 'User.score+'.$score), array('User.id' => $userid));
- $this->set('response',$response);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement