aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addon/twitter/twitter.php7
-rw-r--r--boot.php2
2 files changed, 6 insertions, 3 deletions
diff --git a/addon/twitter/twitter.php b/addon/twitter/twitter.php
index 1dce9d2f6..7f2b2e1c7 100644
--- a/addon/twitter/twitter.php
+++ b/addon/twitter/twitter.php
@@ -243,8 +243,11 @@ function twitter_post_hook(&$a,&$b) {
$msg .= '... ' . $shortlink;
}
// and now tweet it :-)
- if(strlen($msg))
- $tweet->post('statuses/update', array('status' => $msg));
+ if(strlen($msg)) {
+ $result = $tweet->post('statuses/update', array('status' => $msg));
+ logger('twitter_post returns: ' . $result);
+ }
+
}
}
}
diff --git a/boot.php b/boot.php
index 3f64310fc..0a98399cd 100644
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
ini_set('pcre.backtrack_limit', 250000);
-define ( 'FRIENDIKA_VERSION', '2.2.1036' );
+define ( 'FRIENDIKA_VERSION', '2.2.1037' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1075 );