Commit dc816ca1 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

do not store gnd items in production

parent 035357fb
......@@ -298,7 +298,10 @@ let $response :=
then doc( $docname )
else
httpclient:get(xs:anyURI($url), $persist, $request-headers)
let $store := xmldb:store($gndCollection, $filename, $response)
let $store :=
if(config:get("sade.develop") = "true")
then xmldb:store($gndCollection, $filename, $response)
else ()
return
string($response//foaf:page/@rdf:resource)
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment