Merge branch 'develop' into develop-14
This commit is contained in:
@@ -23,6 +23,7 @@ namespace OCA\UserSQL\Backend;
|
||||
|
||||
use OCA\UserSQL\Action\EmailSync;
|
||||
use OCA\UserSQL\Action\IUserAction;
|
||||
use OCA\UserSQL\Action\QuotaSync;
|
||||
use OCA\UserSQL\Cache;
|
||||
use OCA\UserSQL\Constant\App;
|
||||
use OCA\UserSQL\Constant\DB;
|
||||
@@ -130,6 +131,14 @@ final class UserBackend extends ABackend implements
|
||||
$this->userRepository
|
||||
);
|
||||
}
|
||||
if (!empty($this->properties[Opt::QUOTA_SYNC])
|
||||
&& !empty($this->properties[DB::USER_QUOTA_COLUMN])
|
||||
) {
|
||||
$this->actions[] = new QuotaSync(
|
||||
$this->appName, $this->logger, $this->properties, $this->config,
|
||||
$this->userRepository
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user