Commit 1f3a16bb authored by Zach Copley's avatar Zach Copley

Clear up warnings I introduced by refactoring Facebook posting

parent 777ca745
......@@ -147,7 +147,7 @@ function facebookBroadcastNotice($notice)
common_debug(
"FacebookPlugin - $user->nickname ($user->id), Facebook UID: $fbuid "
.'does NOT have status_update permission. Facebook '
. 'returned: ' . var_export($can_publish, true)
. 'returned: ' . var_export($canPublish, true)
);
}
......@@ -297,8 +297,6 @@ function publishStream($notice, $user, $fbuid)
$fbuid
);
common_debug('Facebook returned: ' . var_export($result, true));
common_log(
LOG_INFO,
"FacebookPlugin - Posted notice $notice->id as a stream "
......@@ -307,7 +305,6 @@ function publishStream($notice, $user, $fbuid)
);
}
function formatNotice($notice, $user, $fbuid)
{
// Get the status 'verb' the user has set, if any
......@@ -350,6 +347,8 @@ function updateProfileBox($facebook, $flink, $notice, $user) {
$flink
);
$fbuid = $flink->foreign_id;
common_debug(
'FacebookPlugin - Attempting to update profile box with '
. "content from notice $notice->id for $user->nickname ($user->id)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment