Skip to content

Commit

Permalink
Add support for removing old files during upgrade #716
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmackay committed Jul 26, 2012
1 parent a655e10 commit aaf000b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/libraries/Upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,11 @@ public function remove_old($file, $base_directory)
}

}

// Remove upgrader removed files list
error_reporting(0);
$result = $this->ftp->delete('upgrader_removed_files.txt');
error_reporting($this->error_level);
}
}

0 comments on commit aaf000b

Please sign in to comment.