1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Cleaned up gravatar image importing

This commit is contained in:
Dan Brown
2015-12-14 20:13:32 +00:00
parent 8f7c642f32
commit 93223fcd3d
5 changed files with 17 additions and 15 deletions

View File

@ -16,11 +16,11 @@ class Image extends Model
* Get a thumbnail for this image.
* @param int $width
* @param int $height
* @param bool|false $hardCrop
* @param bool|false $keepRatio
* @return string
*/
public function getThumb($width, $height, $hardCrop = false)
public function getThumb($width, $height, $keepRatio = false)
{
return Images::getThumbnail($this, $width, $height, $hardCrop);
return Images::getThumbnail($this, $width, $height, $keepRatio);
}
}