eZ/Publish/Core/Persistence/Cache/ContentLanguageHandler.php 1 location
|
@@ 60-72 (lines=13) @@
|
| 57 |
|
/** |
| 58 |
|
* {@inheritdoc} |
| 59 |
|
*/ |
| 60 |
|
public function update(Language $struct) |
| 61 |
|
{ |
| 62 |
|
$this->logger->logCall(__METHOD__, array('struct' => $struct)); |
| 63 |
|
$return = $this->persistenceHandler->contentLanguageHandler()->update($struct); |
| 64 |
|
|
| 65 |
|
$this->deleteCache([ |
| 66 |
|
'ez-language-list', |
| 67 |
|
'ez-language-' . $struct->id, |
| 68 |
|
'ez-language-code-' . $struct->languageCode, |
| 69 |
|
]); |
| 70 |
|
|
| 71 |
|
return $return; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
/** |
| 75 |
|
* {@inheritdoc} |
eZ/Publish/Core/Persistence/Cache/ContentTypeHandler.php 1 location
|
@@ 83-95 (lines=13) @@
|
| 80 |
|
/** |
| 81 |
|
* {@inheritdoc} |
| 82 |
|
*/ |
| 83 |
|
public function updateGroup(GroupUpdateStruct $struct) |
| 84 |
|
{ |
| 85 |
|
$this->logger->logCall(__METHOD__, array('struct' => $struct)); |
| 86 |
|
$group = $this->persistenceHandler->contentTypeHandler()->updateGroup($struct); |
| 87 |
|
|
| 88 |
|
$this->deleteCache([ |
| 89 |
|
'ez-content-type-group-list', |
| 90 |
|
'ez-content-type-group-' . $struct->id, |
| 91 |
|
'ez-content-type-group-' . $struct->identifier . '-by-identifier', |
| 92 |
|
]); |
| 93 |
|
|
| 94 |
|
return $group; |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
/** |
| 98 |
|
* {@inheritdoc} |
eZ/Publish/Core/Persistence/Cache/UserHandler.php 1 location
|
@@ 203-213 (lines=11) @@
|
| 200 |
|
/** |
| 201 |
|
* {@inheritdoc} |
| 202 |
|
*/ |
| 203 |
|
public function updateUserToken(UserTokenUpdateStruct $userTokenUpdateStruct) |
| 204 |
|
{ |
| 205 |
|
$this->logger->logCall(__METHOD__, array('struct' => $userTokenUpdateStruct)); |
| 206 |
|
$return = $this->persistenceHandler->userHandler()->updateUserToken($userTokenUpdateStruct); |
| 207 |
|
|
| 208 |
|
// As we 1. don't know original hash, and 2. hash is not guaranteed to be unique, we do it like this for now |
| 209 |
|
$this->invalidateCache(['user-' . $userTokenUpdateStruct->userId . '-account-key']); |
| 210 |
|
$this->deleteCache(['ez-user-' . $userTokenUpdateStruct->hashKey . '-by-account-key']); |
| 211 |
|
|
| 212 |
|
return $return; |
| 213 |
|
} |
| 214 |
|
|
| 215 |
|
/** |
| 216 |
|
* {@inheritdoc} |