Browse Source

[svn r14052] Added additional current_setting for openid profile field

Yannick Warnier 17 years ago
parent
commit
1d90925450
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main/install/migrate-db-1.8.4-1.8.5-pre.sql

+ 2 - 1
main/install/migrate-db-1.8.4-1.8.5-pre.sql

@@ -28,7 +28,8 @@ DELETE FROM settings_current WHERE variable='show_student_view';
 DELETE FROM settings_options WHERE variable='show_student_view';
 INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('openid_authentication', NULL, 'radio', 'Security', 'false', 'OpenIdAuthentication', 'OpenIdAuthenticationComment', NULL, NULL);
 INSERT INTO settings_options (variable, value, display_text) VALUES ('openid_authentication', 'true', 'Yes');
-INSERT INTO settings_options (variable, value, display_text) VALUES ('openid_authentication', 'false', 'No');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('openid_authentication', 'false', 'No');
+INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('profile','openid','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'OpenIDURL');
 CREATE TABLE templates (id int NOT NULL auto_increment, title varchar(100) NOT NULL, description varchar(250) NOT NULL, course_code varchar(40) NOT NULL, user_id int NOT NULL, ref_doc int NOT NULL, PRIMARY KEY (id));
 ALTER TABLE user ADD openid varchar(255) DEFAULT NULL;
 ALTER TABLE user ADD INDEX (openid(50));