You are here

public static function Utilities::isCustomerRegistered in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

2 calls to Utilities::isCustomerRegistered()
close_registration in ./miniorange_saml.module
return_url in ./miniorange_saml_licensing.inc

File

includes/Utilities.php, line 525

Class

Utilities
This file is part of miniOrange SAML plugin.

Code

public static function isCustomerRegistered() {
  if (variable_get('miniorange_saml_customer_admin_email', NULL) == NULL || variable_get('miniorange_saml_customer_id', NULL) == NULL || variable_get('miniorange_saml_customer_admin_token', NULL) == NULL || variable_get('miniorange_saml_customer_api_key', NULL) == NULL) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}