From a24a383dab03b313598c56cec5c83cbb9ca62595 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 25 Jan 2012 00:30:36 -0800 Subject: [PATCH] by default allow pseudonyms --- htconfig.php | 3 +++ update.php | 6 ++++-- view/en/htconfig.tpl | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/htconfig.php b/htconfig.php index 89c226e9b4..4698e9a94b 100755 --- a/htconfig.php +++ b/htconfig.php @@ -69,3 +69,6 @@ $a->config['system']['rino_encrypt'] = true; $a->config['system']['theme'] = 'duepuntozero'; +// By default allow pseudonyms + +$a->config['system']['no_regfullname'] = true; diff --git a/update.php b/update.php index aac306a720..166602fb9c 100755 --- a/update.php +++ b/update.php @@ -992,6 +992,8 @@ INDEX ( `stat` ) } function update_1115() { - q("ALTER TABLE `item` ADD `moderated` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `pubmail`, + q("ALTER TABLE `item` ADD `moderated` + TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `pubmail`, ADD INDEX (`moderated`) "); -} \ No newline at end of file +} + diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl index c535cefa68..3eb2da0704 100755 --- a/view/en/htconfig.tpl +++ b/view/en/htconfig.tpl @@ -66,3 +66,6 @@ $a->config['system']['rino_encrypt'] = true; $a->config['system']['theme'] = 'duepuntozero'; +// By default allow pseudonyms + +$a->config['system']['no_regfullname'] = true;