Signed-off-by: Joas Schilling <coding@schilljs.com>
* @return bool true if we could check the verification code, otherwise false
*/
protected function verifyViaLookupServer(array $argument, $dataType) {
- if(empty($this->lookupServerUrl) || $this->config->getSystemValue('has_internet_connection', true) === false) {
+ if(empty($this->lookupServerUrl) ||
+ $this->config->getAppValue('files_sharing', 'lookupServerUploadEnabled', 'yes') !== 'yes' ||
+ $this->config->getSystemValue('has_internet_connection', true) === false) {
return false;
}