apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php
/**
	 * Checks for externalshares controller
	 * @return bool
	 */
Checks for externalshares controller
@return bool
Checks for externalshares controller @return bool
private function externalSharesChecks() {
		if (!$this->reflector->hasAnnotation('NoIncomingFederatedSharingRequired') &&
			$this->config->getAppValue('files_sharing', 'incoming_server2server_share_enabled', 'yes') !== 'yes') {
			return false;
		}
		if (!$this->reflector->hasAnnotation('NoOutgoingFederatedSharingRequired') &&
		    $this->config->getAppValue('files_sharing', 'outgoing_server2server_share_enabled', 'yes') !== 'yes') {
			return false;
		}
		return true;
	}
private function externalSharesChecks ( ) { if ( ! $ this -> reflector -> hasAnnotation ( 'NoIncomingFederatedSharingRequired' ) && $ this -> config -> getAppValue ( 'files_sharing' , 'incoming_server2server_share_enabled' , 'yes' ) !== 'yes' ) { return false ; } if ( ! $ this -> reflector -> hasAnnotation ( 'NoOutgoingFederatedSharingRequired' ) && $ this -> config -> getAppValue ( 'files_sharing' , 'outgoing_server2server_share_enabled' , 'yes' ) !== 'yes' ) { return false ; } return true ; }
Checks for externalshares controller
 @return bool
Checks for externalshares controller @return bool