| 1 |
<?php |
<?php |
| 2 |
// $Id: troll.module,v 1.38 2009/05/09 03:54:04 deekayen Exp $ |
// $Id: troll.module,v 1.39 2009/06/13 03:12:24 deekayen Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 42 |
$req_mod = variable_get('troll_blacklist_mod_requests', 0); |
$req_mod = variable_get('troll_blacklist_mod_requests', 0); |
| 43 |
if ($req_mod == 'notice_post_drop' && !empty($_POST)) { |
if ($req_mod == 'notice_post_drop' && !empty($_POST)) { |
| 44 |
$_POST = array(); |
$_POST = array(); |
| 45 |
drupal_set_message(t('Your data submission was ignored because you are visiting from a blacklisted location.')); |
include_once('includes/common.inc'); |
| 46 |
|
drupal_set_message(t('Your data submission was ignored because you are visiting from a blacklisted location.'), 'warning'); |
| 47 |
} |
} |
| 48 |
else if ($req_mod == 'silent_post_drop') { |
else if ($req_mod == 'silent_post_drop') { |
| 49 |
$_POST = array(); |
$_POST = array(); |