Skip to content

Commit

Permalink
#556 assemble report, then send to log
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcassel committed Sep 7, 2016
1 parent 3e18a27 commit 33d1000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/admin/controller/purge-previews.xqy
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ let $deleted-docs :=
return
if ($date lt $today) then (
xdmp:document-delete($uri),
xdmp:log(concat("Deleted: ",$uri, " "))
concat("Deleted: ",$uri, " ")
)
else ()
return
(
if ($deleted-docs) then
$deleted-docs
xdmp:log($deleted-docs)
else
xdmp:log("All preview docs before today have already been purged.")
)

0 comments on commit 33d1000

Please sign in to comment.