Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed May 4, 2016
1 parent 3e14f7f commit c71000b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/config.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,7 @@ declare function config:get-option($key as xs:string?) as xs:string {
(: this serves as a shortcut for legacy code :)
(: Please use core:link-to-current-app() directly! :)
case 'baseHref' return core:link-to-current-app(())
default return (
let $dic := $config:options-file
let $item := $dic//id($key)
return normalize-space($item)
)
default return str:normalize-space($config:options-file/id($key))
};

(:~
Expand Down

0 comments on commit c71000b

Please sign in to comment.