Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18f210fb authored by Akhil's avatar Akhil 🙂
Browse files

Merge branch 'dev/remove-log-statement' into 'main'

ecloud account debug logger

See merge request !63
parents 3be377f6 9fc66e6b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -47,12 +47,12 @@ class BetaUserSetting implements ISettings {
	public function getSection(): ?string {
		$betaGroupName = $this->config->getSystemValue("beta_group_name");
		if (empty($betaGroupName)) {
			$this->logger->warning('Beta group name is not set in config.php', ['app' => 'ecloud-accounts']);
			$this->logger->debug('Beta group name is not set in config.php', ['app' => 'ecloud-accounts']);
			return null;
		}
		$groupExists = $this->groupManager->groupExists($betaGroupName);
		if (! $groupExists) {
			$this->logger->warning('Beta group does not exist!', ['app' => 'ecloud-accounts']);
			$this->logger->debug('Beta group does not exist!', ['app' => 'ecloud-accounts']);
			return null;
		}
		return 'beta-user';