diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-09-15 19:36:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 19:36:18 +0200 |
commit | 978d312e69d8ae27601ed8ac0cfe7dadc6669442 (patch) | |
tree | 4dc302a5e7c1b0087b37183d7a17d50462f15169 /lib/public | |
parent | 8137616b4b110aaea310d7f05641ed3d013b3347 (diff) | |
parent | 98f91982be83969c0084ad64c72aeaa72d8c4bcc (diff) | |
download | nextcloud-server-978d312e69d8ae27601ed8ac0cfe7dadc6669442.tar.gz nextcloud-server-978d312e69d8ae27601ed8ac0cfe7dadc6669442.zip |
Merge pull request #17151 from nextcloud/td/remove/createPreview
Remove deprecated function createPreview
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IPreview.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/public/IPreview.php b/lib/public/IPreview.php index ba32300a284..6989871d29b 100644 --- a/lib/public/IPreview.php +++ b/lib/public/IPreview.php @@ -80,18 +80,6 @@ interface IPreview { public function hasProviders(); /** - * Return a preview of a file - * @param string $file The path to the file where you want a thumbnail from - * @param int $maxX The maximum X size of the thumbnail. It can be smaller depending on the shape of the image - * @param int $maxY The maximum Y size of the thumbnail. It can be smaller depending on the shape of the image - * @param boolean $scaleUp Scale smaller images up to the thumbnail size or not. Might look ugly - * @return \OCP\IImage - * @since 6.0.0 - * @deprecated 11 Use getPreview - */ - public function createPreview($file, $maxX = 100, $maxY = 75, $scaleUp = false); - - /** * Returns a preview of a file * * The cache is searched first and if nothing usable was found then a preview is |