From: friendica Date: Tue, 15 May 2012 03:14:09 +0000 (-0700) Subject: There is no LOGGER_ERROR - log problems instead at default (LOGGER_NORMAL) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6ac0556e10bb008701b9a754889d5bdecaa88843;p=friendica-addons.git There is no LOGGER_ERROR - log problems instead at default (LOGGER_NORMAL) --- diff --git a/twitter.tgz b/twitter.tgz index 666cf801..a1b22f6e 100755 Binary files a/twitter.tgz and b/twitter.tgz differ diff --git a/twitter/twitter.php b/twitter/twitter.php index 0a609b05..05c9cf91 100755 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -359,7 +359,7 @@ function twitter_post_hook(&$a,&$b) { $result = $tweet->post('statuses/update', array('status' => $msg)); logger('twitter_post send, result: ' . print_r($result, true), LOGGER_DEBUG); if ($result->error) { - logger('Send to Twitter failed: "' . $result->error . '"', LOGGER_ERROR); + logger('Send to Twitter failed: "' . $result->error . '"'); } } }