Permalink
Browse files

Update prune.php

Hooks request.
PS: sorry for a multiple commits.
  • Loading branch information...
1 parent e88d0ac commit 1bfef96ee62f00e63666798fb49d47c6ef6fa84a @Allineer Allineer committed Aug 29, 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 1bfef96

Please sign in to comment.