/**
  * Function to delete Resource
  *
  * @param  int  $id     Id of the Resource Config to be deleted.
  *
  * @return boolean
  *
  * @access public
  * @static
  */
 static function del($id)
 {
     $configSet = new CRM_Booking_DAO_ResourceConfigSet();
     $configSet->id = $id;
     $configSet->is_deleted = 1;
     return $configSet->save();
 }