mirror of
https://github.com/getgrav/grav.git
synced 2026-06-25 15:29:47 +02:00
Minor cleanup on ImageMedium
This commit is contained in:
@@ -143,11 +143,7 @@ class ImageMedium extends Medium implements ImageMediaInterface, ImageManipulate
|
||||
public function url($reset = true)
|
||||
{
|
||||
if (!$this->image) {
|
||||
/** @var string|null $url */
|
||||
$url = $this->get('url');
|
||||
if ($url) {
|
||||
return $url;
|
||||
}
|
||||
parent::url($reset);
|
||||
}
|
||||
|
||||
// FIXME: update this code
|
||||
|
||||
Reference in New Issue
Block a user