|
@@ 300-308 (lines=9) @@
|
| 297 |
|
/** |
| 298 |
|
* @see eZ\Publish\SPI\Persistence\Content\UrlAlias\Handler::locationDeleted |
| 299 |
|
*/ |
| 300 |
|
public function locationDeleted($locationId) |
| 301 |
|
{ |
| 302 |
|
$this->logger->logCall(__METHOD__, array('location' => $locationId)); |
| 303 |
|
$return = $this->persistenceHandler->urlAliasHandler()->locationDeleted($locationId); |
| 304 |
|
|
| 305 |
|
$this->clearLocation($locationId); |
| 306 |
|
|
| 307 |
|
return $return; |
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
/** |
| 311 |
|
* @param $locationId |
|
@@ 406-413 (lines=8) @@
|
| 403 |
|
* |
| 404 |
|
* @throws \eZ\Publish\Core\Base\Exceptions\BadStateException |
| 405 |
|
*/ |
| 406 |
|
public function repairBrokenUrlAliasesForLocation($locationId) |
| 407 |
|
{ |
| 408 |
|
$this->logger->logCall(__METHOD__, ['locationId' => $locationId]); |
| 409 |
|
|
| 410 |
|
$this->persistenceHandler->urlAliasHandler()->repairBrokenUrlAliasesForLocation($locationId); |
| 411 |
|
|
| 412 |
|
$this->clearLocation($locationId); |
| 413 |
|
} |
| 414 |
|
} |
| 415 |
|
|