apps/gallery/lib/Service/FilesService.php
/**
	 * Determines if the node is a share which is hosted externally
	 *
	 *
	 * @param Node $node
	 *
	 * @return bool
	 */
Determines if the node is a share which is hosted externally
@param Node $node

@return bool
Determines if the node is a share which is hosted externally @param Node $node @return bool
private function isExternalShare($node) {
		$sid = explode(
			':',
			$node->getStorage()
				 ->getId()
		);
		return ($sid[0] === 'shared' && $sid[2][0] !== '/');
	}
private function isExternalShare ( $ node ) { $ sid = explode ( ':' , $ node -> getStorage ( ) -> getId ( ) ) ; return ( $ sid [ 0 ] === 'shared' && $ sid [ 2 ] [ 0 ] !== '/' ) ; }
Determines if the node is a share which is hosted externally
 @param Node $node
Determines if the node is a share which is hosted externally @param Node $node