Update config.php for mailu
This commit is contained in:
parent
74af0aace4
commit
20c991ccf1
@ -4,9 +4,11 @@ use OCP\ILogger;
|
|||||||
use \OCP\IConfig;
|
use \OCP\IConfig;
|
||||||
class Config {
|
class Config {
|
||||||
const CONFIG_KEY = 'ct_auto_mail_hooks';
|
const CONFIG_KEY = 'ct_auto_mail_hooks';
|
||||||
const CONFIG_KEY_GLESYS_KEYS="glesys_keys";
|
const CONFIG_KEY_MAILU_KEYS="mailu_keys";
|
||||||
|
const CONFIG_KEY_MAILU_API="mailu_api";
|
||||||
const CONFIG_KEY_EMAIL_ADDR_SUFFIX="email_suffix";
|
const CONFIG_KEY_EMAIL_ADDR_SUFFIX="email_suffix";
|
||||||
const CONFIG_KEY_EMAIL_ADDR_QUOTA_MB="quota";
|
const CONFIG_KEY_EMAIL_ADDR_QUOTA_MB="quota";
|
||||||
|
|
||||||
const DEFAULT_EMAIL_ADDR_QUOTA_MB="200";
|
const DEFAULT_EMAIL_ADDR_QUOTA_MB="200";
|
||||||
private $logger;
|
private $logger;
|
||||||
private $appConfiguration;
|
private $appConfiguration;
|
||||||
@ -17,8 +19,11 @@ class Config {
|
|||||||
$this->appConfiguration =
|
$this->appConfiguration =
|
||||||
$nextCloudConfiguration->getSystemValue(self::CONFIG_KEY);
|
$nextCloudConfiguration->getSystemValue(self::CONFIG_KEY);
|
||||||
}
|
}
|
||||||
public function getGlesysKeys() {
|
public function getMailUKeys() {
|
||||||
return $this->getConfValue(self::CONFIG_KEY_GLESYS_KEYS);
|
return $this->getConfValue(self::CONFIG_KEY_MAILU_KEYS);
|
||||||
|
}
|
||||||
|
public function getMailUAPI() {
|
||||||
|
return $this->getConfValue(self::CONFIG_KEY_MAILU_API);
|
||||||
}
|
}
|
||||||
public function getEmailAddressSuffix() {
|
public function getEmailAddressSuffix() {
|
||||||
return $this->getConfValue(self::CONFIG_KEY_EMAIL_ADDR_SUFFIX);
|
return $this->getConfValue(self::CONFIG_KEY_EMAIL_ADDR_SUFFIX);
|
||||||
|
Loading…
Reference in New Issue
Block a user