apps/gallery/lib/Service/ConfigService.php
/**
	 * Removes links if they were collected outside of the virtual root
	 *
	 * This is for shared folders which have a virtual root
	 *
	 * @param array $albumConfig
	 *
	 * @return array
	 */
Removes links if they were collected outside of the virtual root
This is for shared folders which have a virtual root

@param array $albumConfig

@return array
Removes links if they were collected outside of the virtual root This is for shared folders which have a virtual root @param array $albumConfig @return array
private function validatesInfoConfig($albumConfig) {
		$this->virtualRootLevel;
		if (array_key_exists('information', $albumConfig)) {
			$info = $albumConfig['information'];
			if (array_key_exists('level', $info)) {
				$level = $info['level'];
				if ($level > $this->virtualRootLevel) {
					$albumConfig['information']['description_link'] = null;
					$albumConfig['information']['copyright_link'] = null;
				}
			}
		}
		return $albumConfig;
	}
private function validatesInfoConfig ( $ albumConfig ) { $ this -> virtualRootLevel ; if ( array_key_exists ( 'information' , $ albumConfig ) ) { $ info = $ albumConfig [ 'information' ] ; if ( array_key_exists ( 'level' , $ info ) ) { $ level = $ info [ 'level' ] ; if ( $ level > $ this -> virtualRootLevel ) { $ albumConfig [ 'information' ] [ 'description_link' ] = null ; $ albumConfig [ 'information' ] [ 'copyright_link' ] = null ; } } } return $ albumConfig ; }
Removes links if they were collected outside of the virtual root
 This is for shared folders which have a virtual root
Removes links if they were collected outside of the virtual root This is for shared folders which have a virtual root