X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitimelineretweetedbyme.php;h=4ad4e269af5544bfa563e227f0547400eb979f41;hb=e8d1bb25469fe1ef0cbcb32c3022010997aca4b0;hp=5fe9609159210aff303e007fe74016a92da50682;hpb=e7c7fd39fc948f1169512916077185dd29973b60;p=quix0rs-gnu-social.git diff --git a/actions/apitimelineretweetedbyme.php b/actions/apitimelineretweetedbyme.php index 5fe9609159..4ad4e269af 100644 --- a/actions/apitimelineretweetedbyme.php +++ b/actions/apitimelineretweetedbyme.php @@ -31,9 +31,6 @@ if (!defined('STATUSNET')) { exit(1); } -require_once INSTALLDIR . '/lib/apiauth.php'; -require_once INSTALLDIR . '/lib/mediafile.php'; - /** * Show authenticating user's most recent repeats * @@ -63,7 +60,7 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction * @return boolean success flag * */ - function prepare($args) + function prepare(array $args=array()) { parent::prepare($args); @@ -80,7 +77,7 @@ class ApiTimelineRetweetedByMeAction extends ApiAuthAction * * @return boolean is read only action? */ - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; }