diff options
author | Evan Prodromou <evan@status.net> | 2009-10-13 17:21:41 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-13 17:21:41 -0400 |
commit | 181de862efe2da16164daea32b74c3da8ea2ed7e (patch) | |
tree | 8e7ebfc731f7e65f26b3b71d65c28bbe51ac2c85 /actions/twitapisearchjson.php | |
parent | 76ac7c358a3245f4032f49152055cae94c4616ff (diff) | |
parent | 659a04b556f75551548c0b2fff633b15cd114135 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/twitapisearchjson.php')
-rw-r--r-- | actions/twitapisearchjson.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/twitapisearchjson.php b/actions/twitapisearchjson.php index c628ee624..c7fa741a0 100644 --- a/actions/twitapisearchjson.php +++ b/actions/twitapisearchjson.php @@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } -require_once INSTALLDIR.'/lib/twitterapi.php'; +require_once INSTALLDIR.'/lib/api.php'; require_once INSTALLDIR.'/lib/jsonsearchresultslist.php'; /** @@ -42,10 +42,10 @@ require_once INSTALLDIR.'/lib/jsonsearchresultslist.php'; * @author Zach Copley <zach@status.net> * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ - * @see TwitterapiAction + * @see ApiAction */ -class TwitapisearchjsonAction extends TwitterapiAction +class TwitapisearchjsonAction extends ApiAction { var $query; var $lang; @@ -134,9 +134,9 @@ class TwitapisearchjsonAction extends TwitterapiAction $results = new JSONSearchResultsList($notice, $q, $this->rpp, $this->page); - $this->init_document('json'); + $this->initDocument('json'); $results->show(); - $this->end_document('json'); + $this->endDocument('json'); } /** |