mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Gallery: remove unset call, not needed anymore
This commit is contained in:
parent
8684e847b0
commit
9379c3e128
1 changed files with 0 additions and 1 deletions
|
|
@ -93,7 +93,6 @@ class OC_Gallery_Scanner {
|
|||
if ($image && $image->valid()) {
|
||||
imagecopyresampled($thumbnail, $image->resource(), $i*200, 0, 0, 0, 200, 200, 200, 200);
|
||||
}
|
||||
unset($image); // unset $image here to control the lifetime of image::$resource
|
||||
}
|
||||
imagepng($thumbnail, OC_Config::getValue("datadirectory").'/'. OC_User::getUser() .'/gallery/' . $albumName.'.png');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue