Skip to content

fixes for wiki create/delete page

Mario requested to merge git-marijus:dev into dev

Created by: git-marijus

This pullrequest addresses three issues:

  1. Creating a new page failed because post_activity_item() did not return anything if $deliver = false. I changed it to at least return the $post_id which we need to proceed...

  2. Deleting a page failed because we tried to create a commit for the already deleted item. I stripped away the commit part (could probably commit before deletion but the page was deleted anyway there is no need for the commit).

  3. The pagelist widget returned "(No Title)" items for deleted pages. I added and item_hidden = 0 to the query.

Please review!

Merge request reports