public static function execute($id) {
// Only delete if the contact doesn't exist (anymore)
- $r = dba::exists('contact', array('id' => $id));
+ $r = dba::exists('contact', ['id' => $id]);
if ($r) {
return;
}
// Now we delete all the depending table entries
- dba::delete('contact', array('id' => $id));
+ dba::delete('contact', ['id' => $id]);
}
}