summaryrefslogtreecommitdiff
path: root/lib/twitter.php
diff options
context:
space:
mode:
authorEric Helgeson <helfire@Erics-MBP.local>2009-03-09 20:01:35 -0500
committerEric Helgeson <helfire@Erics-MBP.local>2009-03-09 20:01:35 -0500
commitc6cd87c106b763ed5610dae64e5a02ba86609ece (patch)
tree2f93e5b2f7183fee0c6fcebce9de93033f930ae2 /lib/twitter.php
parent945bbf00dc9ee106359e9387956c72c1290d12fc (diff)
Changed all $config[][] calls to common_config()
Diffstat (limited to 'lib/twitter.php')
-rw-r--r--lib/twitter.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/twitter.php b/lib/twitter.php
index deb6fd276..a3929524b 100644
--- a/lib/twitter.php
+++ b/lib/twitter.php
@@ -224,7 +224,6 @@ function is_twitter_bound($notice, $flink) {
function broadcast_twitter($notice)
{
- global $config;
$success = true;
$flink = Foreign_link::getByUserID($notice->profile_id,
@@ -248,7 +247,7 @@ function broadcast_twitter($notice)
CURLOPT_POSTFIELDS =>
array(
'status' => $statustxt,
- 'source' => $config['integration']['source']
+ 'source' => common_config('integration', 'source')
),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FAILONERROR => true,