Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #101 from Allineer/patch-7

Added more hooks to prune.php
  • Loading branch information...
commit 96e3cdaeef4677c481e1a9558e980ea9e1c4c22e 2 parents 8bc8358 + 1bfef96
ashcs ashcs authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 admin/prune.php
4 admin/prune.php
View
@@ -242,6 +242,8 @@
$cur_category = 0;
while ($forum = $forum_db->fetch_assoc($result))
{
+ ($hook = get_hook('apr_pre_prune_forum_loop_start')) ? eval($hook) : null;
+
if ($forum['cid'] != $cur_category) // Are we still in the same category?
{
if ($cur_category)
@@ -252,6 +254,8 @@
}
echo "\t\t\t\t\t\t\t\t\t".'<option value="'.$forum['fid'].'">'.forum_htmlencode($forum['forum_name']).'</option>'."\n";
+
+ ($hook = get_hook('apr_pre_prune_forum_loop_end')) ? eval($hook) : null;
}
?>
Please sign in to comment.
Something went wrong with that request. Please try again.