diff options
author | Zach Copley <zach@status.net> | 2010-02-25 22:06:31 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-02-25 22:06:31 -0800 |
commit | e650794300f48f75cc4a91ac86d7e7dd9e082136 (patch) | |
tree | fa045af4af00c02d77a09cbea6eee5813ba25ba4 /plugins | |
parent | 3daf17d935d25d3456043c6d9f4e483b23b525cc (diff) |
Remove unnecessary requires
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Mapstraction/map.php | 2 | ||||
-rw-r--r-- | plugins/Realtime/RealtimePlugin.php | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/Mapstraction/map.php b/plugins/Mapstraction/map.php index a33dfc736..b809c1b8e 100644 --- a/plugins/Mapstraction/map.php +++ b/plugins/Mapstraction/map.php @@ -142,8 +142,6 @@ class MapAction extends OwnerDesignAction // of refactoring from within a plugin, so I'm just abusing // the ApiAction method. Don't do this unless you're me! - require_once(INSTALLDIR.'/lib/api.php'); - $act = new ApiAction('/dev/null'); $arr = $act->twitterStatusArray($notice, true); diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 6c212453e..2b3cb35f1 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -244,8 +244,6 @@ class RealtimePlugin extends Plugin // of refactoring from within a plugin, so I'm just abusing // the ApiAction method. Don't do this unless you're me! - require_once(INSTALLDIR.'/lib/api.php'); - $act = new ApiAction('/dev/null'); $arr = $act->twitterStatusArray($notice, true); |