summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-04 21:42:01 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-04 21:42:01 +0000
commitede819267ef6440c251fd78a087d6ad793ef3100 (patch)
treeee373dd3c03a6a37382e9226d9b1b2c6f0e505a0 /profiles
parentacc3e9312c287e12eb9c38ff991db0402e3a8b80 (diff)
downloadbrdo-ede819267ef6440c251fd78a087d6ad793ef3100.tar.gz
brdo-ede819267ef6440c251fd78a087d6ad793ef3100.tar.bz2
- Patch #588882 by David_Rothstein: filter fallback format clean-ups.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/minimal/minimal.install23
-rw-r--r--profiles/standard/standard.install22
2 files changed, 0 insertions, 45 deletions
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(