You are here

function restrict_ip_preprocess_block in Restrict IP 6

Same name and namespace in other branches
  1. 7 restrict_ip.module \restrict_ip_preprocess_block()

File

./restrict_ip.module, line 172

Code

function restrict_ip_preprocess_block(&$items) {
  global $restricted_ip;
  if ($restricted_ip) {
    unset($items['block']);
  }
}