fix(image): Remove NOP imagedestroy call
This is NOP since 8.0 and deprecated since 8.5 Signed-off-by: Carl Schwan <carlschwan@kde.org>
This commit is contained in:
@@ -1137,9 +1137,6 @@ class Image implements IImage {
|
||||
* Destroys the current image and resets the object
|
||||
*/
|
||||
public function destroy(): void {
|
||||
if ($this->valid()) {
|
||||
imagedestroy($this->resource);
|
||||
}
|
||||
$this->resource = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user