Commit 5775a15f authored by Ignacio Santolin's avatar Ignacio Santolin
Browse files

Style Corrections

parent 36a178ac
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -17,8 +17,7 @@ function block_proxies_menu()
  return $items;
}

function block_proxies_boot()
{
function block_proxies_boot() {
  $config_values = block_proxies_get_values_list();
  $current_ip    = ip_address();

@@ -56,16 +55,14 @@ function block_proxies_boot()
    }
}

function block_proxies_deny_access($message)
{
function block_proxies_deny_access($message) {
    header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden');
    print $message;
    exit();
}


function block_proxies_get_values_list()
{
function block_proxies_get_values_list() {
    $data = db_select('block_proxies', 'bp')->fields('bp')->execute()->fetchAll();
    
    return $data;