From: Mikael Nordfeldth Date: Tue, 7 Jul 2015 17:48:18 +0000 (+0200) Subject: File_redirection is called statically X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45ee2060fa9317e65ea4ea09084bf8158c10ee61;p=quix0rs-gnu-social.git File_redirection is called statically --- diff --git a/classes/File_redirection.php b/classes/File_redirection.php index ba516e4623..e0d68b7330 100644 --- a/classes/File_redirection.php +++ b/classes/File_redirection.php @@ -166,7 +166,7 @@ class File_redirection extends Managed_DataObject * size (optional): byte size from Content-Length header * time (optional): timestamp from Last-Modified header */ - public function where($in_url, $discover=true) { + static function where($in_url, $discover=true) { // let's see if we know this... try { $a = File::getByUrl($in_url);