X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FContact.php;h=f051d870a295c8710a72f21a7b7c57992fc3f486;hb=49c47008d189617ec989b04c8ec42b3c1484e87f;hp=cbfd4b6c6dc032a727de00f333ace9da994bec99;hpb=797391e1d830113a3c7116b223d8f0e201435d69;p=friendica.git diff --git a/src/Console/Contact.php b/src/Console/Contact.php index cbfd4b6c6d..f051d870a2 100644 --- a/src/Console/Contact.php +++ b/src/Console/Contact.php @@ -1,6 +1,6 @@ out('Contact was successfully unfollowed'); return true; } catch (\Exception $e) { - DI::logger()->error($e->getMessage(), ['owner' => $user, 'contact' => $contact]); + DI::logger()->error($e->getMessage(), ['contact' => $contact]); throw new RuntimeException('Unable to unfollow this contact, please check the log'); } } /** * Marks a contact for removal - * - * @return bool True, if the command was successful */ private function removeContact() { @@ -236,7 +229,7 @@ HELP; } } - $result = ContactModel::remove($cid); + ContactModel::remove($cid); } /**