Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/acdh-oeaw/arche-gui
Browse files Browse the repository at this point in the history
  • Loading branch information
nczirjak-acdh committed May 14, 2021
2 parents 3aebe53 + 69d28a0 commit c750a32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Helper/GeneralFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ private function createShobbolethGroup(): void
$role->save();
}

public function getRepoIdFromApiUrl(string $apiUrl): string {
public function getRepoIdFromApiUrl(string $apiUrl): string
{
if (strpos($apiUrl, $this->repo->getBaseUrl()) !== false) {
return str_replace($this->repo->getBaseUrl(), '', $apiUrl);
}
Expand Down

0 comments on commit c750a32

Please sign in to comment.