You are here

function cas_pgtformat_version_check in CAS 7

Since 1.3, pgt format isn't supported and default to plain.

1 string reference to 'cas_pgtformat_version_check'
cas_admin_settings in ./cas.admin.inc
Provides settings pages.

File

./cas.admin.inc, line 411
CAS module settings UI.

Code

function cas_pgtformat_version_check($element, &$form_state) {
  if (!defined('PHPCAS_VERSION') || version_compare(PHPCAS_VERSION, '1.3', '>')) {
    $element['#access'] = FALSE;
  }
  return $element;
}