You are here

public function UcAddressesAddress::delete in Ubercart Addresses 7

Same name and namespace in other branches
  1. 6.2 class/UcAddressesAddress.class.php \UcAddressesAddress::delete()

Deletes address from address book.

@access public

Return value

boolean TRUE if the address was deleted. FALSE otherwise.

File

class/UcAddressesAddress.class.php, line 460
Contains the UcAddressesAddress class.

Class

UcAddressesAddress
The main address class used by uc_addresses (and extension modules).

Code

public function delete() {
  return $this->addressBook
    ->deleteAddress($this);
}