Skip to content

Commit

Permalink
StopSpammer_hooks: comment out some stuff that doesn't seem to be use…
Browse files Browse the repository at this point in the history
…ful (#2)

It causes trouble though. Fixes #1.

To be fixed or fully removed later.
  • Loading branch information
Frenzie committed Feb 24, 2018
1 parent d6cc615 commit af0b7a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/StopSpammer_hooks.php
Expand Up @@ -151,7 +151,7 @@ public static function register(&$regOptions, &$theme_vars, &$knownInts, &$known

public static function view_members_params(&$params)
{
print_r($params);
//print_r($params);
/*
// Are we performing a check or report?
if ((isset($_POST['spammers_checks']) || isset($_POST['spammers_report'])) && !empty($_POST['delete']))
Expand All @@ -174,7 +174,7 @@ public static function view_members_params(&$params)
checkreportMembers($_POST['delete'], isset($_POST['spammers_report']));
}*/


/*
// @todo add a token too?
checkSession();
// Clean the input.
Expand All @@ -191,7 +191,7 @@ public static function view_members_params(&$params)
if (empty($members))
return;
checkreportMembers($this->_req->post->maction === 'delete', $this->_req->post->maction === 'spammers_report');

*/


}
Expand Down

0 comments on commit af0b7a5

Please sign in to comment.