You are here

function block_sort in Production check & Production monitor 6

Same name and namespace in other branches
  1. 7 includes/prod_check.apc.inc \block_sort()
1 string reference to 'block_sort'
prod_check.apc.inc in includes/prod_check.apc.inc

File

includes/prod_check.apc.inc, line 516

Code

function block_sort($array1, $array2) {
  if ($array1['offset'] > $array2['offset']) {
    return 1;
  }
  else {
    return -1;
  }
}