Skip to content

Commit

Permalink
Clear all github cache
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Apr 21, 2024
1 parent 1ec17ac commit a8e74a5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/app/src/Github/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ private function getCacheKey(string $repository, string $prefix): string

public function clearCache(string $repository): void
{
$refl = new \ReflectionClass($this);
foreach ($refl->getMethods() as $method) {
if ($method->isPublic()) {
$this->cache->delete($this->getCacheKey($repository, $method->getName()));
}
}
$this->cache->clear();
}
}

0 comments on commit a8e74a5

Please sign in to comment.