Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug

  • Loading branch information...
commit a8e45cced10caaf74c7182c78be926de4e8ec4eb 1 parent 1dabcfb
Magnus Nordlander magnusnordlander authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Gittern/Gaufrette/GitternIndexAdapter.php
4 src/Gittern/Gaufrette/GitternIndexAdapter.php
View
@@ -118,7 +118,7 @@ public function rename($key, $new)
public function isDirectory($directory_key)
{
$directory_key = trim($directory_key, '/');
- foreach ($this->getKeys() as $key)
+ foreach ($this->keys() as $key)
{
if (strpos($key, $directory_key.'/') === 0)
{
@@ -133,4 +133,4 @@ public function supportsMetadata()
{
return true;
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.