Explorar o código

removed reference to exec

Johannes M. Schmitt %!s(int64=12) %!d(string=hai) anos
pai
achega
3db8419569
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Util/Filesystem.php

+ 1 - 1
src/Composer/Util/Filesystem.php

@@ -63,7 +63,7 @@ class Filesystem
 
     public function rename($source, $target)
     {
-        if (defined('PHP_WINDOWS_VERSION_BUILD') || ! function_exists('exec')) {
+        if (defined('PHP_WINDOWS_VERSION_BUILD')) {
             rename($source, $target);
 
             return;