public function LdapAuthorizationConsumerConfAdmin::delete in Lightweight Directory Access Protocol (LDAP) 8.2
Same name and namespace in other branches
- 7.2 ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php \LdapAuthorizationConsumerConfAdmin::delete()
- 7 ldap_authorization/LdapAuthorizationConsumerConfAdmin.class.php \LdapAuthorizationConsumerConfAdmin::delete()
1 call to LdapAuthorizationConsumerConfAdmin::delete()
File
- ldap_authorization/
LdapAuthorizationConsumerConfAdmin.class.php, line 76
Class
- LdapAuthorizationConsumerConfAdmin
- LDAP Authorization Consumer Configration Admin Class
Code
public function delete() {
if ($this->consumerType) {
$this->inDatabase = FALSE;
return db_delete('ldap_authorization')
->condition('consumer_type', $this->consumerType)
->execute();
}
else {
return FALSE;
}
}