fix aconfig
This commit is contained in:
parent
47bd97b55d
commit
760427fc43
@ -15,7 +15,7 @@ class AConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static public function Set($account_id,$family,$key,$value) {
|
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) {
|
static public function Delete($account_id,$family,$key) {
|
||||||
|
@ -38,7 +38,7 @@ class Register extends \Zotlabs\Web\Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function post() {
|
function post() {
|
||||||
|
|
||||||
$max_dailies = intval(get_config('system','max_daily_registrations'));
|
$max_dailies = intval(get_config('system','max_daily_registrations'));
|
||||||
if($max_dailies) {
|
if($max_dailies) {
|
||||||
|
Reference in New Issue
Block a user