X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fredirecturl.php;h=4befa4ab840c843c014c712f2b4d3e6e611593f1;hb=418b3c3c53194040022c4b56bd0c0b04fd6fd4d7;hp=2aca4fe02b95ebe82adf713d85d76ca05a2d6626;hpb=9948523c33ea0d02681ff1e0cd4fcb839dc9df96;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; } /**