From 134319649f41796d804777f5740c5dae978f1a7a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 8 Nov 2009 11:38:33 +0100 Subject: Fix typo in doc/badge (bug 1958) --- doc-src/badge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc-src/badge b/doc-src/badge index 1c368eb69..5499e334c 100644 --- a/doc-src/badge +++ b/doc-src/badge @@ -1,4 +1,4 @@ -Install the %%site.name%% badge on you blog or web site to show the latest updates +Install the %%site.name%% badge on your blog or web site to show the latest updates from you and your friends! -- cgit v1.2.3 From 5c5a905eb94832f2f33dc6a0a99c77912a7ec09d Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Sun, 8 Nov 2009 22:55:53 +0000 Subject: Moved back to using lib twitterapi instead of api for 0.8.x --- plugins/Realtime/RealtimePlugin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 0c7c1240c..181927968 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -240,13 +240,13 @@ class RealtimePlugin extends Plugin // FIXME: this code should be abstracted to a neutral third // party, like Notice::asJson(). I'm not sure of the ethics // of refactoring from within a plugin, so I'm just abusing - // the ApiAction method. Don't do this unless you're me! + // the TwitterApiAction method. Don't do this unless you're me! - require_once(INSTALLDIR.'/lib/api.php'); + require_once(INSTALLDIR.'/lib/twitterapi.php'); - $act = new ApiAction('/dev/null'); + $act = new TwitterApiAction('/dev/null'); - $arr = $act->twitterStatusArray($notice, true); + $arr = $act->twitter_status_array($notice, true); $arr['url'] = $notice->bestUrl(); $arr['html'] = htmlspecialchars($notice->rendered); $arr['source'] = htmlspecialchars($arr['source']); -- cgit v1.2.3