apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php
/**
	 * Check whether sharing is enabled
	 * @return bool
	 */
Check whether sharing is enabled
@return bool
Check whether sharing is enabled @return bool
private function isSharingEnabled() {
		if(!$this->appManager->isEnabledForUser($this->appName)) {
			return false;
		}
		return true;
	}
private function isSharingEnabled ( ) { if ( ! $ this -> appManager -> isEnabledForUser ( $ this -> appName ) ) { return false ; } return true ; }
Check whether sharing is enabled
 @return bool
Check whether sharing is enabled @return bool
// FIXME: This check is done here since the route is globally defined and not inside the files_sharing app // Check whether the sharing application is enabled