"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/handler/page/remove.php" between
wacko.6.1.18.zip and wacko.6.1.19.zip

About: WackoWiki is a multilingual Wiki-engine that supports WYTIWYG-editing, page rights (ACLs), design themes (skins), file upload, email notification and much more.

remove.php  (wacko.6.1.18):remove.php  (wacko.6.1.19)
skipping to change at line 115 skipping to change at line 115
if ($this->remove_comments($this->tag, false, $dontkeep)) if ($this->remove_comments($this->tag, false, $dontkeep))
{ {
$message[] = $this->_t('CommentsRemoved'); $message[] = $this->_t('CommentsRemoved');
} }
if ($this->remove_files_perpage($this->tag, false, $dontk eep)) if ($this->remove_files_perpage($this->tag, false, $dontk eep))
{ {
$message[] = $this->_t('FilesRemoved'); $message[] = $this->_t('FilesRemoved');
} }
// done with remove_page()
#if ($this->remove_revisions($this->tag))
#{
# $message[] = $this->_t('RevisionsRemoved');
#}
} }
// purge related page cache // purge related page cache
if ($this->http->invalidate_page($comment_on_id ? $comment_on['ta g'] : $this->tag)) if ($this->http->invalidate_page($comment_on_id ? $comment_on['ta g'] : $this->tag))
{ {
$message[] = $this->_t('PageCachePurged'); $message[] = $this->_t('PageCachePurged');
} }
if ($this->remove_page($this->page['page_id'], $comment_on_id, $d ontkeep)) if ($this->remove_page($this->page['page_id'], $comment_on_id, $d ontkeep))
{ {
skipping to change at line 163 skipping to change at line 157
if ($this->is_admin() && $cluster) if ($this->is_admin() && $cluster)
{ {
$this->remove_referrers ($this->t ag, true); $this->remove_referrers ($this->t ag, true);
$this->remove_links ( $this->tag, true); $this->remove_links ( $this->tag, true);
$this->remove_category_assignments ($this->tag, true ); $this->remove_category_assignments ($this->tag, true );
$this->remove_acls ( $this->tag, true); $this->remove_acls ( $this->tag, true);
$this->remove_menu_items ($this->t ag, true); $this->remove_menu_items ($this->t ag, true);
$this->remove_watches ($this->t ag, true); $this->remove_watches ($this->t ag, true);
$this->remove_comments ($this->t ag, true, $dontkeep); $this->remove_comments ($this->t ag, true, $dontkeep);
$this->remove_files_perpage ($this->t ag, true); $this->remove_files_perpage ($this->t ag, true);
// done with remove_page()
# $this->remove_revisions (
$this->tag, true);
// get list of pages in the cluster // get list of pages in the cluster
if ($list = $this->db->load_all( if ($list = $this->db->load_all(
"SELECT page_id " . "SELECT page_id " .
"FROM " . $this->prefix . "page " . "FROM " . $this->prefix . "page " .
"WHERE tag LIKE " . $this->db->q($this->tag . '/%') . " " )) "WHERE tag LIKE " . $this->db->q($this->tag . '/%') . " " ))
{ {
// remove by one page at a time // remove by one page at a time
foreach ($list as $row) foreach ($list as $row)
{ {
 End of changes. 2 change blocks. 
9 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)