X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FOpenID.php;h=817141b7b0dc4cd6c6b7514f47fd7f152038f69d;hb=215b423e0a601cd30e6af5290eaa398dcee690b9;hp=90569e58f06923a2295c4503919ce202bde6ed9e;hpb=52c503aac03bba16dff98f57d5647fb98168e9b7;p=civicrm-core.git diff --git a/CRM/Core/DAO/OpenID.php b/CRM/Core/DAO/OpenID.php index 90569e58f0..817141b7b0 100644 --- a/CRM/Core/DAO/OpenID.php +++ b/CRM/Core/DAO/OpenID.php @@ -105,7 +105,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Open ID identifier'), - 'description' => 'Unique OpenID ID', + 'description' => ts('Unique OpenID ID'), 'required' => TRUE, 'table_name' => 'civicrm_openid', 'entity' => 'OpenID', @@ -116,7 +116,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('OpenID Contact'), - 'description' => 'FK to Contact ID', + 'description' => ts('FK to Contact ID'), 'table_name' => 'civicrm_openid', 'entity' => 'OpenID', 'bao' => 'CRM_Core_BAO_OpenID', @@ -127,7 +127,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'name' => 'location_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('OpenID Location Type'), - 'description' => 'Which Location does this email belong to.', + 'description' => ts('Which Location does this email belong to.'), 'table_name' => 'civicrm_openid', 'entity' => 'OpenID', 'bao' => 'CRM_Core_BAO_OpenID', @@ -137,7 +137,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'name' => 'openid', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('OpenID'), - 'description' => 'the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM', + 'description' => ts('the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'import' => TRUE, @@ -155,8 +155,9 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'name' => 'allowed_to_login', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Allowed to login?'), - 'description' => 'Whether or not this user is allowed to login', + 'description' => ts('Whether or not this user is allowed to login'), 'required' => TRUE, + 'default' => '0', 'table_name' => 'civicrm_openid', 'entity' => 'OpenID', 'bao' => 'CRM_Core_BAO_OpenID', @@ -166,7 +167,8 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'name' => 'is_primary', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is OpenID Primary?'), - 'description' => 'Is this the primary email for this contact and location.', + 'description' => ts('Is this the primary email for this contact and location.'), + 'default' => '0', 'table_name' => 'civicrm_openid', 'entity' => 'OpenID', 'bao' => 'CRM_Core_BAO_OpenID',