Notice::getByUri is of course static

This commit is contained in:
Mikael Nordfeldth 2014-01-12 22:41:30 +01:00
parent 15c95dc415
commit 08dba7e21d
1 changed files with 2 additions and 2 deletions

View 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);
}
/**