Skip to content

Commit

Permalink
Merge pull request #113 from gtrias/patch-1
Browse files Browse the repository at this point in the history
Removing setCurrentTheme on FileLoctor constructor
  • Loading branch information
lsmith77 committed Jan 27, 2015
2 parents 7e7756f + 05e605e commit 4606f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Locator/FileLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ public function __construct(
);

$this->pathPatterns = array_merge_recursive(array_filter($pathPatterns), $defaultPathPatterns);

$this->lastTheme = $this->activeTheme->getName();

$this->setCurrentTheme($this->activeTheme->getName(), $this->activeTheme->getDeviceType());
}

/**
Expand Down

0 comments on commit 4606f64

Please sign in to comment.