summaryrefslogtreecommitdiff
path: root/actions/apifavorites.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apifavorites.php')
-rw-r--r--actions/apifavorites.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/apifavorites.php b/actions/apifavorites.php
index 358079c86..db8ad1062 100644
--- a/actions/apifavorites.php
+++ b/actions/apifavorites.php
@@ -19,8 +19,9 @@
if (!defined('LACONICA')) { exit(1); }
-# This naming convention looks real sick
-class ApifavoritesAction extends Action {
+require_once(INSTALLDIR.'/lib/twitterapi.php');
+
+class ApifavoritesAction extends TwitterapiAction {
function favorites($args, $apidata) {
parent::handle($args);