Skip to content

Commit

Permalink
Merge branch '7.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Longosz committed Jun 15, 2018
2 parents 57c27ca + c93e681 commit bea2660
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -242,7 +242,7 @@ public function providerForTestConvert()
<section xmlns="http://docbook.org/ns/docbook" xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml">
<eztemplate name="custom_tag" ezxhtml:align="right">
<ezcontent>
<para>param: value</para>
<para>Param: value</para>
</ezcontent>
<ezconfig>
<ezvalue key="param">value</ezvalue>
Expand Down
4 changes: 4 additions & 0 deletions eZ/Publish/Core/Persistence/Cache/UserHandler.php
Expand Up @@ -32,6 +32,10 @@ public function create(User $user)

// Clear corresponding content cache as creation of the User changes it's external data
$this->cache->invalidateTags(['content-fields-' . $user->id]);
$this->cache->deleteItems([
'ez-user-' . str_replace('@', '§', $user->login) . '-by-login',
'ez-user-' . str_replace('@', '§', $user->email) . '-by-email',
]);

return $return;
}
Expand Down

0 comments on commit bea2660

Please sign in to comment.