application-user: set manuallyApprovesFollowers to true
This commit is contained in:
parent
e915b7af8b
commit
de3335bcda
1 changed files with 8 additions and 1 deletions
|
@ -29,6 +29,13 @@ class Application_User extends Blog_User {
|
|||
*/
|
||||
protected $discoverable = false;
|
||||
|
||||
/**
|
||||
* The instance actor by default must manually approve all followers.
|
||||
*
|
||||
* @var boolean
|
||||
*/
|
||||
protected $manually_approves_followers = true;
|
||||
|
||||
/**
|
||||
* Get the User-Url.
|
||||
*
|
||||
|
@ -52,7 +59,7 @@ class Application_User extends Blog_User {
|
|||
}
|
||||
|
||||
public function get_preferred_username() {
|
||||
return $this::get_name();
|
||||
return $this->get_name();
|
||||
}
|
||||
|
||||
public function get_followers() {
|
||||
|
|
Loading…
Reference in a new issue