/** * Is a user account capable of saving data currently available? * * @return bool */ protected function isAccountAvailable() { // We can't use account features if login is broken or privacy is on: return $this->auth->loginEnabled() && !$this->auth->inPrivacyMode(); }