]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Notice::getByUri is of course static
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 12 Jan 2014 21:41:30 +0000 (22:41 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 12 Jan 2014 21:41:30 +0000 (22:41 +0100)
classes/Notice.php

index 83a8eaa3e865cc546d78f06b2e0610857daf664a..a1750dda4dd22b915acf9fbaad39849ee386c800 100644 (file)
@@ -216,9 +216,9 @@ class Notice extends Managed_DataObject
         return $this->url ?: $this->uri;
     }
 
-    public function getByUri($uri)
+    public static function getByUri($uri)
     {
-        return Notice::getKV('uri', $uri);
+        return static::getKV('uri', $uri);
     }
 
     /**