You are here

function restrict_ip_preprocess_page in Restrict IP 6

Same name and namespace in other branches
  1. 8.2 restrict_ip.module \restrict_ip_preprocess_page()
  2. 8 restrict_ip.module \restrict_ip_preprocess_page()
  3. 7.2 restrict_ip.module \restrict_ip_preprocess_page()
  4. 7 restrict_ip.module \restrict_ip_preprocess_page()
  5. 3.x restrict_ip.module \restrict_ip_preprocess_page()

File

./restrict_ip.module, line 181

Code

function restrict_ip_preprocess_page(&$items) {
  global $restricted_ip;
  if ($restricted_ip) {
    $items['closure'] = '';
    $items['scripts'] = '';
  }
}