Commit 2b84ed84 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch 'develop' into 'main'

Release 22-07-2021

See merge request !442
parents c5a6e7fb ae9645ad
Pipeline #13655 passed with stages
in 8 minutes and 23 seconds
This diff is collapsed.
...@@ -56,14 +56,14 @@ class FetchMembersCommand extends Command ...@@ -56,14 +56,14 @@ class FetchMembersCommand extends Command
$this->queryBuilder $this->queryBuilder
->update('tx_t3omembership_domain_model_member') ->update('tx_t3omembership_domain_model_member')
->where( ->where(
$this->queryBuilder->expr()->neq('external_identifier', '""') $this->queryBuilder->expr()->neq('external_identifier', '""'),
$this->queryBuilder->expr()->eq('pid', (int)$this->extConfig['MemberStorage'])
) )
->set('hidden', 1) ->set('hidden', 1)
->execute(); ->execute();
$this->queryBuilder = $this->queryBuilder->getConnection()->createQueryBuilder(); $this->queryBuilder = $this->queryBuilder->getConnection()->createQueryBuilder();
$warnings = false;
foreach ($members as $member) { foreach ($members as $member) {
$this->queryBuilder = $this->queryBuilder->getConnection()->createQueryBuilder(); $this->queryBuilder = $this->queryBuilder->getConnection()->createQueryBuilder();
$this->queryBuilder $this->queryBuilder
...@@ -94,6 +94,7 @@ class FetchMembersCommand extends Command ...@@ -94,6 +94,7 @@ class FetchMembersCommand extends Command
$data['tstamp'] = time(); $data['tstamp'] = time();
$data['crdate'] = time(); $data['crdate'] = time();
$data['membership'] = $this->getMembershipId($data['membership']); $data['membership'] = $this->getMembershipId($data['membership']);
$data['email'] = $data['email'] ?? '';
unset($data['votingEmail']); unset($data['votingEmail']);
unset($data['identifier']); unset($data['identifier']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment