Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Removing code from a wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Mar 2, 2014
1 parent ede645a commit c9cda46
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Docs/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,3 @@ Tutorials
---------

* [Quick Start](Tutorials/Quick-Start.md)


public function createTeam($postData) {
$this->set($postData);
$this->User->set($postData);

if ($this->validates() && $this->User->validates()) {
$this->create();
$this->save($postData, array('validate' => false);
$this->User->create();
$this->User->save($postData, array('validate' => false);
$this->TeamsUser->create();
$this->TeamsUser->save(array(
'TeamsUser => array(
'user_id' => $this->getLastInsertId()
'team_id' => $this->User->getLastInsertId()
)
));
return true;
}
return false;
}

0 comments on commit c9cda46

Please sign in to comment.