]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Remove useless filter on .git folder
authorNumEricR <eric.github@gmail.com>
Sat, 5 Oct 2013 08:52:08 +0000 (10:52 +0200)
committerNumEricR <eric.github@gmail.com>
Sat, 5 Oct 2013 08:52:08 +0000 (10:52 +0200)
inc/poche/Poche.class.php

index 1ba8e7c14d39d8edfac2fa72e5d0e9431d1fab3d..1a65538667716d941a7cb4811c63485920d18a7e 100644 (file)
@@ -258,7 +258,7 @@ class Poche
         while (($theme = readdir($handle)) !== false) {
             # Themes are stored in a directory, so all directory names are themes
             # @todo move theme installation data to database
-            if (! is_dir(THEME . '/' . $theme) || in_array($theme, array('..', '.', '.git'))) {
+            if (! is_dir(THEME . '/' . $theme) || in_array($theme, array('..', '.'))) {
                 continue;
             }