mirror of
https://github.com/nextcloud/server.git
synced 2026-06-15 03:32:00 -04:00
Cloud personnel
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.
|
||
|---|---|---|
| .idea | ||
| 3rdparty@82d02dd48a | ||
| apps | ||
| build | ||
| config | ||
| core | ||
| l10n | ||
| lib | ||
| ocs | ||
| search | ||
| settings | ||
| tests | ||
| themes | ||
| .gitignore | ||
| .gitmodules | ||
| .htaccess | ||
| .jshintrc | ||
| .scrutinizer.yml | ||
| .travis.yml | ||
| .user.ini | ||
| AUTHORS | ||
| autotest-js.sh | ||
| autotest.cmd | ||
| autotest.sh | ||
| console.php | ||
| CONTRIBUTING.md | ||
| COPYING-AGPL | ||
| COPYING-README | ||
| cron.php | ||
| db_structure.xml | ||
| index.html | ||
| index.php | ||
| indie.json | ||
| issue_template.md | ||
| occ | ||
| public.php | ||
| README.md | ||
| remote.php | ||
| robots.txt | ||
| status.php | ||
| version.php | ||
ownCloud
ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.
Build Status on Jenkins CI
Installation instructions
http://doc.owncloud.org/server/7.0/developer_manual/app/index.html
Contribution Guidelines
http://owncloud.org/contribute/
Get in touch
Important notice on translations
Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/
For more detailed information about translations: http://doc.owncloud.org/server/7.0/developer_manual/core/translation.html
