From 8931adc0487ef95da1d52f4133dfa63696ccdb2b Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 28 Aug 2016 16:17:58 -0700 Subject: fix aconfig --- Zotlabs/Lib/AConfig.php | 2 +- Zotlabs/Module/Register.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Zotlabs/Lib/AConfig.php b/Zotlabs/Lib/AConfig.php index 24ec97dfa..ab8648a18 100644 --- a/Zotlabs/Lib/AConfig.php +++ b/Zotlabs/Lib/AConfig.php @@ -15,7 +15,7 @@ class AConfig { } static public function Set($account_id,$family,$key,$value) { - return XConfig::Get('a_' . $account_id,$family,$key,$value); + return XConfig::Set('a_' . $account_id,$family,$key,$value); } static public function Delete($account_id,$family,$key) { diff --git a/Zotlabs/Module/Register.php b/Zotlabs/Module/Register.php index 4cdd27001..0b16d4a66 100644 --- a/Zotlabs/Module/Register.php +++ b/Zotlabs/Module/Register.php @@ -38,7 +38,7 @@ class Register extends \Zotlabs\Web\Controller { } - function post() { + function post() { $max_dailies = intval(get_config('system','max_daily_registrations')); if($max_dailies) { -- cgit v1.2.3