propagate changes to display name and email columns in user table to anyone it might affect
Signed-off-by: Björn Kinscher <dev@bjoern-kinscher.de>
This commit is contained in:
@@ -25,6 +25,7 @@ use OC\User\Backend;
|
||||
use OCA\UserSQL\Action\EmailSync;
|
||||
use OCA\UserSQL\Action\IUserAction;
|
||||
use OCA\UserSQL\Action\QuotaSync;
|
||||
use OCA\UserSQL\Action\NameSync;
|
||||
use OCA\UserSQL\Cache;
|
||||
use OCA\UserSQL\Constant\App;
|
||||
use OCA\UserSQL\Constant\DB;
|
||||
@@ -140,6 +141,13 @@ final class UserBackend extends ABackend implements
|
||||
$this->userRepository
|
||||
);
|
||||
}
|
||||
if (!empty($this->properties[DB::USER_NAME_COLUMN])
|
||||
) {
|
||||
$this->actions[] = new NameSync(
|
||||
$this->appName, $this->logger, $this->properties, $this->config,
|
||||
$this->userRepository
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user