Example #1
0
 /**
  * Function to delete the auction
  *
  * @param int $id  auction id
  *
  * @access public
  * @static
  *
  */
 static function del($id)
 {
     require_once 'CRM/Auction/DAO/Item.php';
     $auction = new CRM_Auction_DAO_Item();
     $auction->id = $id;
     $result = $auction->delete();
     return $result;
 }