From 87a814ee8d9f61d7c845d46bb26a7e60c413fd9f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 30 Jan 2019 07:21:25 +0100 Subject: [PATCH 1/2] Wrong constant used in docs --- doc/Config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Config.md b/doc/Config.md index a187331dd6..cfe2d6d787 100644 --- a/doc/Config.md +++ b/doc/Config.md @@ -142,7 +142,7 @@ $a->config['register_policy'] = REGISTER_CLOSED;
 'config' => [
-    'register_policty' => REGISTER_CLOSED,
+    'register_policy' => \Friendica\Module\Register::CLOSED,
 ],
 
From 79d933cec77504c7eafa37bf0da734e2a5100271 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Wed, 30 Jan 2019 07:23:47 +0100 Subject: [PATCH 2/2] at two places --- doc/Config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Config.md b/doc/Config.md index cfe2d6d787..7eae371c28 100644 --- a/doc/Config.md +++ b/doc/Config.md @@ -242,7 +242,7 @@ register_policty = REGISTER_CLOSED
 'config' => [
-    'register_policty' => REGISTER_CLOSED,
+    'register_policy' => \Friendica\Module\Register::CLOSED,
 ],