Index: modules/system/system.install =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.install,v retrieving revision 1.119 diff -u -r1.119 system.install --- modules/system/system.install 30 May 2007 08:08:58 -0000 1.119 +++ modules/system/system.install 1 Jun 2007 18:17:26 -0000 @@ -235,48 +235,7 @@ // Load system theme data appropriately. system_theme_data(); - db_query("INSERT INTO {users} (uid,name,mail) VALUES(0,'','')"); - - db_query("INSERT INTO {role} (name) VALUES ('anonymous user')"); - db_query("INSERT INTO {role} (name) VALUES ('authenticated user')"); - - db_query("INSERT INTO {permission} (rid,perm,tid) VALUES (1,'access content',0)"); - db_query("INSERT INTO {permission} (rid,perm,tid) VALUES (2,'access comments, access content, post comments, post comments without approval',0)"); - db_query("INSERT INTO {variable} (name,value) VALUES('theme_default', 's:7:\"garland\";')"); - - db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', 0, 'garland', 1, '')"); - db_query("INSERT INTO {blocks} (module,delta,theme,status,pages) VALUES('user', 1, 'garland', 1, '')"); - - db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)"); - - // Add input formats. - db_query("INSERT INTO {filter_formats} (name, roles, cache) VALUES ('Filtered HTML', ',1,2,', 1)"); - db_query("INSERT INTO {filter_formats} (name, roles, cache) VALUES ('Full HTML', '', 1)"); - - // Enable filters for each input format. - - // Filtered HTML: - // URL filter. - db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (1, 'filter', 2, 0)"); - // HTML filter. - db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (1, 'filter', 0, 1)"); - // Line break filter. - db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (1, 'filter', 1, 2)"); - // HTML corrector filter. - db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (1, 'filter', 3, 10)"); - - // Full HTML: - // URL filter. - db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (2, 'filter', 2, 0)"); - // Line break filter. - db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (2, 'filter', 1, 1)"); - // HTML corrector filter. - db_query("INSERT INTO {filters} (format, module, delta, weight) VALUES (1, 'filter', 3, 10)"); - - db_query("INSERT INTO {variable} (name,value) VALUES ('filter_html_1','i:1;')"); - - db_query("INSERT INTO {variable} (name, value) VALUES ('node_options_forum', '%s')", 'a:1:{i:0;s:6:"status";}'); } // Updates for core Index: modules/forum/forum.install =================================================================== RCS file: /cvs/drupal/drupal/modules/forum/forum.install,v retrieving revision 1.7 diff -u -r1.7 forum.install --- modules/forum/forum.install 25 May 2007 12:46:44 -0000 1.7 +++ modules/forum/forum.install 1 Jun 2007 18:17:24 -0000 @@ -7,6 +7,7 @@ function forum_install() { // Create tables. drupal_install_schema('forum'); + db_query("INSERT INTO {variable} (name, value) VALUES ('node_options_forum', '%s')", 'a:1:{i:0;s:6:"status";}'); } /** Index: modules/filter/filter.install =================================================================== RCS file: modules/filter/filter.install diff -N modules/filter/filter.install --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ modules/filter/filter.install 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,33 @@ +