server/lib
Lukas Reschke 6869d2e82a Throw error in showPreview instead the constructor
This function is also used in a way such as:

```
	$preview = new \OC\Preview(\OC_User::getUser(), 'files');
	$info = \OC\Files\Filesystem::getFileInfo($file);
	if (!$always and !$preview->isAvailable($info)) {
		\OC_Response::setStatus(404);
	} else {
		$preview->setFile($file);
		$preview->setMaxX($maxX);
		$preview->setMaxY($maxY);
		$preview->setScalingUp($scalingUp);
		$preview->setKeepAspect($keepAspect);
	}
```

Which won't work anymore since `setFile` is used instead of passing the file in the constructor. Fixes a regression in master.
2014-09-19 13:26:41 +02:00
..
l10n [tx-robot] updated from transifex 2014-09-19 01:55:44 -04:00
private Throw error in showPreview instead the constructor 2014-09-19 13:26:41 +02:00
public Remove unused and overflowing function 2014-09-18 10:21:28 +02:00
repair repair search lucene before installing 2014-09-10 10:22:40 +02:00
autoloader.php add additional type check 2014-06-06 09:33:34 +02:00
base.php Move basic auth check 2014-09-17 16:04:12 +02:00