Esempio n. 1
0
 /**
  * @param $ownerid
  * @param $ownertype
  */
 public function deleteWallByOwner($ownerid, $ownertype)
 {
     $wallid = $this->getWallId($ownerid, $ownertype);
     $this->delete($this->getAdapter()->quoteInto("wall_id = ?", $wallid));
     $posts = new Posts();
     $posts->deletebyOwner($ownerid, $wallid);
 }