code/extensions/CDNFile.php
public function targetStore() {
		if ($this->owner->ParentID) {
			$store = $this->owner->Parent()->getCDNStore();
			return $store;
		}

		return $this->contentService->getDefaultStore();
	}
public function targetStore() {
		if ($this->owner->ParentID) {
			$store = $this->owner->Parent()->getCDNStore();
			return $store;
		}

		return $this->contentService->getDefaultStore();
	}
public function targetStore ( ) { if ( $ this -> owner -> ParentID ) { $ store = $ this -> owner -> Parent ( ) -> getCDNStore ( ) ; return $ store ; } return $ this -> contentService -> getDefaultStore ( ) ; }
Return the CDN store that this file should be stored into, based on its
parent setting, if no parent is found the ContentService default is returned
Return the CDN store that this file should be stored into based on its parent setting if no parent is found the ContentService default is returned