Skip to content

Commit e467439

Browse files
committed
removing useless code
1 parent 7260a23 commit e467439

File tree

1 file changed

+4
-10
lines changed
  • marklogic-data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/lib

1 file changed

+4
-10
lines changed

marklogic-data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/lib/flow-lib.xqy

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -591,12 +591,6 @@ declare function flow:make-error-json($ex) {
591591
declare function flow:validate-entities()
592592
{
593593
let $errors := json:array()
594-
let $identifier := "123"
595-
let $content :=
596-
map:new((
597-
map:entry("identifier", $identifier),
598-
map:entry("content", <x/>)
599-
))
600594
let $options := map:map()
601595
let $_ :=
602596
for $entity in flow:get-entities()/hub:entity
@@ -623,10 +617,10 @@ declare function flow:validate-entities()
623617
flow:run-plugin(
624618
$plugin,
625619
$data-format,
626-
$identifier,
627-
map:get($content, "content"),
628-
map:get($content, "headers"),
629-
map:get($content, "triple"),
620+
"123",
621+
(),
622+
(),
623+
(),
630624
$options)
631625
}
632626
catch($ex) {

0 commit comments

Comments
 (0)