Permalink
Browse files

Merge pull request #101 from Allineer/patch-7

Added more hooks to prune.php
  • Loading branch information...
2 parents 8bc8358 + 1bfef96 commit 96e3cdaeef4677c481e1a9558e980ea9e1c4c22e @ashcs ashcs committed Aug 31, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 admin/prune.php
View
4 admin/prune.php
@@ -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;
}
?>

0 comments on commit 96e3cda

Please sign in to comment.