|
@@ 252-254 (lines=3) @@
|
| 249 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkAll', 'no') === 'yes') { |
| 250 |
|
return true; |
| 251 |
|
} |
| 252 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkRead', 'no') === 'yes' && !$wopi->getCanwrite()) { |
| 253 |
|
return true; |
| 254 |
|
} |
| 255 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_linkSecure', 'no') === 'yes' && $wopi->getHideDownload()) { |
| 256 |
|
return true; |
| 257 |
|
} |
|
@@ 274-276 (lines=3) @@
|
| 271 |
|
return true; |
| 272 |
|
} |
| 273 |
|
} |
| 274 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_shareRead', 'no') === 'yes' && !$wopi->getCanwrite()) { |
| 275 |
|
return true; |
| 276 |
|
} |
| 277 |
|
} |
| 278 |
|
if ($this->config->getAppValue(AppConfig::WATERMARK_APP_NAMESPACE, 'watermark_allGroups', 'no') === 'yes') { |
| 279 |
|
$groups = $this->appConfig->getAppValueArray('watermark_allGroupsList'); |