• StijnChristiaens
    StijnChristiaens, 2010/01/06 22:14

    Note that the 3rd parameter to deleteFromRecycleBin is wrong. It should be xcontext.context instead of context.context

    See http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting for details.

    • jvelociter
      jvelociter, 2010/12/07 16:52

      Stjin, yes we've move to xcontext since this snipped has been written. Fixing it now, thank you for spotting it.

  • Valdis Vitolins
    Valdis Vitolins, 2014/07/21 14:58

    Why there is additional where query += "where not exists (from XWikiDocument as doc where doc.fullName=ddoc.fullName)"?
    Comparing what is shown in /xwiki/bin/view/Main/AllDocs?view=deletedDocs I assume it is unnecessary.

Get Connected