X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FRemoveContact.php;h=9a7a257770ba8982b42d6df1fca13341e08babd6;hb=986e22d9e17dafeb3ca46daf5abc942c1f1c2510;hp=4098d66bc59648c227fc170b187356c76209b5d7;hpb=394e94cbc1b3a11e50cd6b076582403d62839c86;p=friendica.git diff --git a/src/Worker/RemoveContact.php b/src/Worker/RemoveContact.php index 4098d66bc5..9a7a257770 100644 --- a/src/Worker/RemoveContact.php +++ b/src/Worker/RemoveContact.php @@ -14,12 +14,12 @@ class RemoveContact { 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]); } }