X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FContact.php;h=f051d870a295c8710a72f21a7b7c57992fc3f486;hb=7d958e8804f5fabc9b748c68c7b8f55d8885360c;hp=cbfd4b6c6dc032a727de00f333ace9da994bec99;hpb=a44d200c211eff891f7d275b7e54ded33a50c446;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); } /**