diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-19 15:52:53 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-19 15:52:53 +0200 |
commit | ecafae84728e05387f3e488b36e583dec9ee3e2b (patch) | |
tree | f39ddf8ccc2855795a718b7e3eab2426fea38440 /plugins/TwitterBridge | |
parent | 5a6f6162061985c9d0e67b7d25b94b5a53205ace (diff) |
* Remove trailing newline in e-mail message.
* Superfluous whitespace removed.
Diffstat (limited to 'plugins/TwitterBridge')
-rw-r--r-- | plugins/TwitterBridge/twitter.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php index d984698ee..f913e4aea 100644 --- a/plugins/TwitterBridge/twitter.php +++ b/plugins/TwitterBridge/twitter.php @@ -318,11 +318,9 @@ function remove_twitter_link($flink) // Notify the user that her Twitter bridge is down if (isset($user->email)) { - $result = mail_twitter_bridge_removed($user); if (!$result) { - $msg = 'Unable to send email to notify ' . "$user->nickname (user id: $user->id) " . 'that their Twitter bridge link was ' . @@ -331,7 +329,6 @@ function remove_twitter_link($flink) common_log(LOG_WARNING, $msg); } } - } /** @@ -360,7 +357,7 @@ function mail_twitter_bridge_removed($user) '%3$s\'s access?' . "\n\n" . 'You can re-enable your Twitter bridge by visiting your ' . "Twitter settings page:\n\n\t%2\$s\n\n" . - "Regards,\n%3\$s\n"), + "Regards,\n%3\$s"), $profile->getBestName(), common_local_url('twittersettings'), common_config('site', 'name')); |