apps/files_sharing/ajax/publicpreview.php 1 location
|
@@ 57-61 (lines=5) @@
|
| 54 |
|
exit; |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
if(!isset($linkedItem['uid_owner']) || !isset($linkedItem['file_source'])) { |
| 58 |
|
\OC_Response::setStatus(\OC_Response::STATUS_INTERNAL_SERVER_ERROR); |
| 59 |
|
\OCP\Util::writeLog('core-preview', 'Passed token seems to be valid, but it does not contain all necessary information . ("' . $token . '")', \OCP\Util::WARN); |
| 60 |
|
exit; |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
$rootLinkItem = OCP\Share::resolveReShare($linkedItem); |
| 64 |
|
$userId = $rootLinkItem['uid_owner']; |
apps/files_sharing/lib/helper.php 1 location
|
@@ 68-72 (lines=5) @@
|
| 65 |
|
exit; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
if(!isset($linkItem['uid_owner']) || !isset($linkItem['file_source'])) { |
| 69 |
|
\OC_Response::setStatus(500); |
| 70 |
|
\OCP\Util::writeLog('core-preview', 'Passed token seems to be valid, but it does not contain all necessary information . ("' . $token . '")', \OCP\Util::WARN); |
| 71 |
|
exit; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
$rootLinkItem = \OCP\Share::resolveReShare($linkItem); |
| 75 |
|
$path = null; |