fix aconfig

This commit is contained in:
redmatrix 2016-08-28 16:17:58 -07:00
parent f2ff6f394b
commit 8931adc048
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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) {