Skip to content

Commit

Permalink
[MoveTask] Fixed default overwrite behavior. (#1268)
Browse files Browse the repository at this point in the history
overwrite should be turned on by default
  • Loading branch information
siad007 authored Feb 16, 2020
1 parent 79d0bec commit 0a8746a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions classes/phing/tasks/system/MoveTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
*/
class MoveTask extends CopyTask
{
public function __construct()
{
parent::__construct();
$this->overwrite = true;
}

/**
* Validates attributes coming in from XML
*
Expand Down

0 comments on commit 0a8746a

Please sign in to comment.