Ejemplo n.º 1
0
 /**
  * Delete trackdata
  */
 protected function deleteSwimdata()
 {
     $Deleter = new Model\Swimdata\Deleter($this->PDO, new Model\Swimdata\Object(array('activityid' => $this->Object->id())));
     $Deleter->setAccountID($this->AccountID);
     $Deleter->delete();
 }
Ejemplo n.º 2
0
 /**
  * @param int $id
  */
 protected function delete($id)
 {
     $Deleter = new Deleter($this->PDO, new Object($this->fetch($id)));
     $Deleter->setAccountID(0);
     $Deleter->delete();
 }