More fixes on previous migration - refs #7538

1.10.x
Yannick Warnier 11 years ago
parent 8a1ee27658
commit e2744569b2
  1. 6
      main/install/data.sql
  2. 6
      src/Chamilo/CoreBundle/Migrations/Schema/V110/Version20150507152600.php

@ -1634,11 +1634,11 @@ INSERT INTO settings_current
VALUES
('hide_home_top_when_connected', '', 'radio', 'Platform', 'false', 'HideHomeTopContentWhenLoggedInText', 'HideHomeTopContentWhenLoggedInComment', NULL, '', true),
('hide_global_announcements_when_not_connected','','radio','Platform','true', 'HideGlobalAnnouncementsWhenNotLoggedInText','HideGlobalAnnouncementsWhenNotLoggedInComment',NULL,'', true),
('course_creation_use_template','','text','Course','','CourseCreationUsesTemplateText','CourseCreationUsesTemplateComment',NULL,'',true),
('course_creation_use_template','','textfield','Course','','CourseCreationUsesTemplateText','CourseCreationUsesTemplateComment',NULL,'',true),
('allow_strength_pass_checker','','radio','Security','true','EnablePasswordStrengthCheckerText','EnablePasswordStrengthCheckerComment',NULL,'',true),
('allow_captcha','','radio','Security','true','EnableCaptchaText','EnableCaptchaComment',NULL,'',true),
('captcha_number_mistakes_to_block_account','','text','Security',5,'CaptchaNumberOfMistakesBeforeBlockingAccountText','CaptchaNumberOfMistakesBeforeBlockingAccountComment',NULL,'',true),
('captcha_time_to_block','','text','Security',5,'CaptchaTimeAccountIsLockedText','CaptchaTimeAccountIsLockedComment',NULL,'',true),
('captcha_number_mistakes_to_block_account','','textfield','Security',5,'CaptchaNumberOfMistakesBeforeBlockingAccountText','CaptchaNumberOfMistakesBeforeBlockingAccountComment',NULL,'',true),
('captcha_time_to_block','','textfield','Security',5,'CaptchaTimeAccountIsLockedText','CaptchaTimeAccountIsLockedComment',NULL,'',true),
('drh_can_access_all_session_content','','radio','Session','true','DRHAccessToAllSessionContentText','DRHAccessToAllSessionContentComment',NULL,'',true),
('display_groups_forum_in_general_tool','','radio','Tools','true','ShowGroupForaInGeneralToolText','ShowGroupForaInGeneralToolComment',NULL,'',true),
('allow_tutors_to_assign_students_to_session','','radio','Session','false','TutorsCanAssignStudentsToSessionsText','TutorsCanAssignStudentsToSessionsComment',NULL,'',true);

@ -68,7 +68,7 @@ class Version20150507152600 extends AbstractMigrationChamilo
$this->addSettingCurrent(
'course_creation_use_template',
'',
'text',
'textfield',
'Course',
($value?$value:''),
'CourseCreationUsesTemplateText',
@ -123,7 +123,7 @@ class Version20150507152600 extends AbstractMigrationChamilo
$this->addSettingCurrent(
'captcha_number_mistakes_to_block_account',
'',
'text',
'textfield',
'Security',
($value?$value:5),
'CaptchaNumberOfMistakesBeforeBlockingAccountText',
@ -140,7 +140,7 @@ class Version20150507152600 extends AbstractMigrationChamilo
$this->addSettingCurrent(
'captcha_time_to_block',
'',
'text',
'textfield',
'Security',
($value?$value:5),
'CaptchaTimeAccountIsLockedText',

Loading…
Cancel
Save