aboutsummaryrefslogtreecommitdiffstats
path: root/addon/twitter/twitter.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-06 19:07:43 -0700
committerFriendika <info@friendika.com>2011-07-06 19:07:43 -0700
commit474156b15ce8cc00b3c594b4668f2a658c283522 (patch)
tree27bb8ef2621970e23ed15a96774a9f1a7c53ac69 /addon/twitter/twitter.php
parent94ca19c016591430ccf2bb8b6a2a2f0239f9cb96 (diff)
downloadvolse-hubzilla-474156b15ce8cc00b3c594b4668f2a658c283522.tar.gz
volse-hubzilla-474156b15ce8cc00b3c594b4668f2a658c283522.tar.bz2
volse-hubzilla-474156b15ce8cc00b3c594b4668f2a658c283522.zip
remove insecure java_uploader, add some debugging to twitter plugin
Diffstat (limited to 'addon/twitter/twitter.php')
-rw-r--r--addon/twitter/twitter.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/addon/twitter/twitter.php b/addon/twitter/twitter.php
index 183c71126..1dce9d2f6 100644
--- a/addon/twitter/twitter.php
+++ b/addon/twitter/twitter.php
@@ -216,6 +216,7 @@ function twitter_post_hook(&$a,&$b) {
$twitter_enable = (($twitter_post && x($_POST,'twitter_enable')) ? intval($_POST['twitter_enable']) : 0);
if($twitter_post && $twitter_enable) {
+ logger('Posting to Twitter', LOGGER_DEBUG);
require_once('library/twitteroauth.php');
require_once('include/bbcode.php');
$tweet = new TwitterOAuth($ckey,$csecret,$otoken,$osecret);