]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/File_redirection.php
File_redirection is called statically
[quix0rs-gnu-social.git] / classes / File_redirection.php
index ba516e462325698847294a89cf965bb7f395b214..e0d68b73308c665945cfc84f52b008d521165e30 100644 (file)
@@ -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);