瀏覽代碼

removed reference to exec

Johannes M. Schmitt 12 年之前
父節點
當前提交
3db8419569
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;