X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapistatusesretweets.php;h=7af4cd3ec6649959832917de0019e43188df2ee0;hb=c85e78ac3c03bd584a6da3a0a7b5cb9160cc9324;hp=722019683630d7b152074f50b06a14bf46003d82;hpb=12588b1cf73fad7d0a76a29a46ec355150eaa54e;p=quix0rs-gnu-social.git diff --git a/actions/apistatusesretweets.php b/actions/apistatusesretweets.php index 7220196836..7af4cd3ec6 100644 --- a/actions/apistatusesretweets.php +++ b/actions/apistatusesretweets.php @@ -31,9 +31,6 @@ if (!defined('STATUSNET')) { exit(1); } -require_once INSTALLDIR . '/lib/apiauth.php'; -require_once INSTALLDIR . '/lib/mediafile.php'; - /** * Show up to 100 repeats of a notice * @@ -63,7 +60,7 @@ class ApiStatusesRetweetsAction extends ApiAuthAction $id = $this->trimmed('id'); - $this->original = Notice::staticGet('id', $id); + $this->original = Notice::getKV('id', $id); if (empty($this->original)) { // TRANS: Client error displayed trying to display redents of a non-exiting notice.