mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix(GdImage): imagedestroy is noop since PHP 8.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
56793fa5b8
commit
c27db5fdad
1 changed files with 0 additions and 2 deletions
|
|
@ -839,7 +839,6 @@ class Image implements IImage {
|
|||
return false;
|
||||
}
|
||||
$result = $this->resizeNew($maxSize);
|
||||
imagedestroy($this->resource);
|
||||
$this->resource = $result;
|
||||
return $this->valid();
|
||||
}
|
||||
|
|
@ -875,7 +874,6 @@ class Image implements IImage {
|
|||
return false;
|
||||
}
|
||||
$result = $this->preciseResizeNew($width, $height);
|
||||
imagedestroy($this->resource);
|
||||
$this->resource = $result;
|
||||
return $this->valid();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue