From ede819267ef6440c251fd78a087d6ad793ef3100 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 4 Mar 2010 21:42:01 +0000 Subject: - Patch #588882 by David_Rothstein: filter fallback format clean-ups. --- profiles/minimal/minimal.install | 23 ----------------------- profiles/standard/standard.install | 22 ---------------------- 2 files changed, 45 deletions(-) (limited to 'profiles') diff --git a/profiles/minimal/minimal.install b/profiles/minimal/minimal.install index fc1c5a14b..1d6958276 100644 --- a/profiles/minimal/minimal.install +++ b/profiles/minimal/minimal.install @@ -7,29 +7,6 @@ * Perform actions to set up the site for this profile. */ function minimal_install() { - // Add text formats. - $plain_text_format = array( - 'name' => 'Plain text', - 'weight' => 10, - 'filters' => array( - // Escape all HTML. - 'filter_html_escape' => array( - 'weight' => 0, - 'status' => 1, - ), - // Line break filter. - 'filter_autop' => array( - 'weight' => 1, - 'status' => 1, - ), - ), - ); - $plain_text_format = (object) $plain_text_format; - filter_format_save($plain_text_format); - - // Set the fallback format to plain text. - variable_set('filter_fallback_format', $plain_text_format->format); - // Enable some standard blocks. $values = array( array( diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 450347bb2..ccba7eb1b 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -61,28 +61,6 @@ function standard_install() { $full_html_format = (object) $full_html_format; filter_format_save($full_html_format); - $plain_text_format = array( - 'name' => 'Plain text', - 'weight' => 10, - 'filters' => array( - // Escape all HTML. - 'filter_html_escape' => array( - 'weight' => 0, - 'status' => 1, - ), - // Line break filter. - 'filter_autop' => array( - 'weight' => 1, - 'status' => 1, - ), - ), - ); - $plain_text_format = (object) $plain_text_format; - filter_format_save($plain_text_format); - - // Set the fallback format to plain text. - variable_set('filter_fallback_format', $plain_text_format->format); - // Enable some standard blocks. $values = array( array( -- cgit v1.2.3