From 08dba7e21d10c71d81f7781490566f62156230f4 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 12 Jan 2014 22:41:30 +0100 Subject: [PATCH] Notice::getByUri is of course static --- classes/Notice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /** -- 2.39.5