From: Mikael Nordfeldth Date: Sun, 12 Jan 2014 21:41:30 +0000 (+0100) Subject: Notice::getByUri is of course static X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=08dba7e21d10c71d81f7781490566f62156230f4;p=quix0rs-gnu-social.git Notice::getByUri is of course static --- diff --git a/classes/Notice.php b/classes/Notice.php index 83a8eaa3e8..a1750dda4d 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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); } /**