Skip to content

Commit

Permalink
Merge branch '6.13' into 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Longosz committed Oct 17, 2018
2 parents f4c921e + 6f49227 commit 2fdfcc6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Persistence/Content/UrlAlias/Handler.php
Expand Up @@ -190,4 +190,15 @@ public function archiveUrlAliasesForDeletedTranslations($locationId, $parentLoca
* @return int Number of deleted URL aliases
*/
public function deleteCorruptedUrlAliases();

/**
* Attempt repairing auto-generated URL aliases for the given Location (including history).
*
* Note: it is assumed that at this point original, working, URL Alias for Location is published.
*
* @param int $locationId
*
* @throws \eZ\Publish\Core\Base\Exceptions\BadStateException
*/
public function repairBrokenUrlAliasesForLocation(int $locationId);
}

0 comments on commit 2fdfcc6

Please sign in to comment.