Example #1
0
 /**
  * Deletes a contact.
  *
  * @param Model_Contact $contact The contact to delete.
  *
  * @return bool
  */
 public static function delete(Model_Contact $contact)
 {
     try {
         $contact->delete();
     } catch (FuelException $e) {
         Log::error($e);
         return false;
     }
     return true;
 }