]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/twitapitrends.php
Remove more contractions
[quix0rs-gnu-social.git] / actions / twitapitrends.php
index 436451c0f2fb7d11b985796ed2515f18d4c6e069..2d17e77cc8e06bbf45bbc6f31f0204fe1890be03 100644 (file)
  * @link      http://status.net/
  */
 
-if (!defined('STATUSNET')) {
+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
@@ -42,10 +42,10 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
  * @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;
@@ -55,7 +55,7 @@ class TwitapitrendsAction extends TwitterapiAction
      *
      * @param array $args Web and URL arguments
      *
-     * @return boolean false if user doesn't exist
+     * @return boolean false if user does not exist
      */
     function prepare($args)
     {