X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fredirecturl.php;h=4befa4ab840c843c014c712f2b4d3e6e611593f1;hb=1635d459ec1988104f28f3346c45ee5aebbfcc1a;hp=2aca4fe02b95ebe82adf713d85d76ca05a2d6626;hpb=8884a5255fb90fda67b63fa0d4252d77176337e5;p=quix0rs-gnu-social.git diff --git a/actions/redirecturl.php b/actions/redirecturl.php index 2aca4fe02b..4befa4ab84 100644 --- a/actions/redirecturl.php +++ b/actions/redirecturl.php @@ -70,7 +70,7 @@ class RedirecturlAction extends Action throw new ClientException(_('No id parameter.')); } - $this->file = File::staticGet('id', $this->id); + $this->file = File::getKV('id', $this->id); if (empty($this->file)) { // TRANS: Client exception thrown when an invalid ID parameter was provided for a file. @@ -93,7 +93,6 @@ class RedirecturlAction extends Action function handle($argarray=null) { common_redirect($this->file->url, 307); - return; } /**