apps/gallery/lib/Service/FilesService.php
/**
	 * Throws an exception if this problem occurs in the current folder, otherwise just ignores the
	 * sub-folder
	 *
	 * @param int $subDepth
	 * @param \Exception $exception
	 *
	 * @return array
	 * @throws NotFoundServiceException
	 */
Throws an exception if this problem occurs in the current folder, otherwise just ignores the
sub-folder

@param int $subDepth
@param \Exception $exception

@return array
@throws NotFoundServiceException
Throws an exception if this problem occurs in the current folder otherwise just ignores the sub - folder @param int $subDepth @param \ Exception $exception @return array @throws NotFoundServiceException
private function recoverFromGetNodesError($subDepth, $exception) {
		if ($subDepth === 0) {
			throw new NotFoundServiceException($exception->getMessage());
		}
		return [];
	}
private function recoverFromGetNodesError ( $ subDepth , $ exception ) { if ( $ subDepth === 0 ) { throw new NotFoundServiceException ( $ exception -> getMessage ( ) ) ; } return [ ] ; }
Throws an exception if this problem occurs in the current folder, otherwise just ignores the
 sub-folder
Throws an exception if this problem occurs in the current folder otherwise just ignores the sub - folder