1
0
Fork 0

remove unnecessary else

pull/1637/head
Ricard Clau 2013-03-01 10:22:12 +01:00
parent 56f4625ec8
commit 2a2bb6aad6
1 changed files with 2 additions and 2 deletions

View File

@ -103,10 +103,10 @@ class GitDownloader extends VcsDownloader
case 'stash': case 'stash':
if (!$update) { if (!$update) {
return parent::cleanChanges($path, $update); return parent::cleanChanges($path, $update);
} else {
return $this->stashChanges($path);
} }
return $this->stashChanges($path);
case 'false': case 'false':
default: default:
return parent::cleanChanges($path, $update); return parent::cleanChanges($path, $update);