X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftwitapitrends.php;h=779405e6d64c7a41d2e88f77e9a0915691ca5350;hb=935410e8dc4c2d4d286a942cc27bbf8bc452fbdd;hp=e6baf7c63166029d7e5cb6fa68e1f11738b3138b;hpb=d35b2d3f3c2128b147a6fa897032262c1f632262;p=quix0rs-gnu-social.git diff --git a/actions/twitapitrends.php b/actions/twitapitrends.php index e6baf7c631..779405e6d6 100644 --- a/actions/twitapitrends.php +++ b/actions/twitapitrends.php @@ -21,31 +21,31 @@ * * @category Search * @package StatusNet - * @author Zach Copley + * @author Zach Copley * @copyright 2008-2009 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } -require_once INSTALLDIR.'/lib/twitterapi.php'; +require_once INSTALLDIR.'/lib/api.php'; /** * Returns the top ten queries that are currently trending * * @category Search * @package StatusNet - * @author Zach Copley + * @author Zach Copley * @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 TwitapitrendsAction extends TwitterapiAction +class TwitapitrendsAction extends ApiAction { var $callback;