|
@@ 264-266 (lines=3) @@
|
| 261 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkAll', 'no') === 'yes') { |
| 262 |
|
return true; |
| 263 |
|
} |
| 264 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkRead', 'no') === 'yes' && !$wopi->getCanwrite()) { |
| 265 |
|
return true; |
| 266 |
|
} |
| 267 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkSecure', 'no') === 'yes' && $wopi->getHideDownload()) { |
| 268 |
|
return true; |
| 269 |
|
} |
|
@@ 286-288 (lines=3) @@
|
| 283 |
|
return true; |
| 284 |
|
} |
| 285 |
|
} |
| 286 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_shareRead', 'no') === 'yes' && !$wopi->getCanwrite()) { |
| 287 |
|
return true; |
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_allGroups', 'no') === 'yes') { |
| 291 |
|
$groups = $this->appConfig->getAppValueArray('watermark_allGroupsList'); |