Selaa lähdekoodia

removed reference to exec

Johannes M. Schmitt 12 vuotta sitten
vanhempi
commit
3db8419569
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;