فهرست منبع

[svn r17902] allow_message_tool sent it to dokeos_main_corp SVN#3503

Julio Montoya 16 سال پیش
والد
کامیت
e9c0b6a9cf
3فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 2 2
      main/install/dokeos_main.sql
  2. 4 0
      main/install/dokeos_main_corp.sql
  3. 0 3
      main/install/migrate-db-1.8.5-1.8.6-pre.sql

+ 2 - 2
main/install/dokeos_main.sql

@@ -649,8 +649,8 @@ VALUES
 ('course_create_active_tools','glossary','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Glossary', 0),
 ('course_create_active_tools','notebook','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Notebook', 0),
 ('advanced_filemanager',NULL,'radio','Platform','true','AdvancedFileManagerTitle','AdvancedFileManagerComment',NULL,NULL, 0),
-('allow_reservation', NULL, 'radio', 'Tools', 'false', 'AllowReservationTitle', 'AllowReservationComment', NULL, NULL, 0),
-('allow_message_tool', NULL, 'radio', 'Tools', 'false', 'AllowMessageToolTitle', 'AllowMessageToolComment', NULL, NULL, 0);
+('allow_reservation', NULL, 'radio', 'Tools', 'false', 'AllowReservationTitle', 'AllowReservationComment', NULL, NULL, 0);
+
 UNLOCK TABLES;
 /*!40000 ALTER TABLE settings_current ENABLE KEYS */;
 

+ 4 - 0
main/install/dokeos_main_corp.sql

@@ -39,3 +39,7 @@ ref_id_high_level INT NOT NULL,
 ref_id_second_level INT NULL,
 search_did INT NOT NULL
 );
+
+INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('allow_message_tool', NULL, 'radio', 'Tools', 'false', 'AllowMessageToolTitle', 'AllowMessageToolComment', NULL, NULL);
+INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_message_tool', 'true', 'Yes');
+INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_message_tool', 'false', 'No');

+ 0 - 3
main/install/migrate-db-1.8.5-1.8.6-pre.sql

@@ -91,9 +91,6 @@ UPDATE settings_current SET access_url_changeable = 1 WHERE variable='show_tabs'
 UPDATE settings_current SET access_url_changeable = 1 WHERE variable='show_tabs' AND subkey='my_agenda';
 UPDATE settings_current SET access_url_changeable = 1 WHERE variable='show_tabs' AND subkey='my_profile';
 UPDATE settings_current SET access_url_changeable = 1 WHERE variable='show_tabs' AND subkey='my_gradebook';
-INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('allow_message_tool', NULL, 'radio', 'Tools', 'false', 'AllowMessageToolTitle', 'AllowMessageToolComment', NULL, NULL);
-INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_message_tool', 'true', 'Yes');
-INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_message_tool', 'false', 'No');
  
 -- xxSTATSxx
 ALTER TABLE track_e_exercices ADD status varchar(20) NOT NULL default '';