1
0
Fork 0

Simplify code

pull/329/head
Jordi Boggiano 2012-02-20 09:50:02 +01:00
parent c95b4d05fd
commit 2976bd82b0
1 changed files with 1 additions and 2 deletions

View File

@ -214,8 +214,7 @@ EOT
// force update
$newPackage = $composer->getRepositoryManager()->findPackage($package->getName(), $package->getVersion());
if ($newPackage->getSourceReference() !== $package->getSourceReference()) {
$operation = new UpdateOperation($package, $newPackage);
$operations[] = $operation;
$operations[] = new UpdateOperation($package, $newPackage);
}
}
}