BUGFIX: direct call to exec method instead of trying to non-existent object attribute

This commit is contained in:
Julian Seidenberg 2011-04-29 10:07:05 +12:00 committed by Ingo Schommer
parent 6c549169ed
commit 23f5340c85

View File

@ -156,7 +156,7 @@ class LoadModulesTask extends SilverStripeBuildTask {
if (!$storeLocally && !$usePiston && file_exists('.gitignore')) {
$gitIgnore = file_get_contents('.gitignore');
if (strpos($gitIgnore, $moduleName) === false) {
$this->callingTask->exec("echo $$moduleName >> .gitignore");
$this->exec("echo $$moduleName >> .gitignore");
}
}
} else {