Skip to content

Commit

Permalink
Merged in COMDEVNL-1790 (pull request #43)
Browse files Browse the repository at this point in the history
COMDEVNL-1790 -- Set update function to download the actual release zip, instead of the source of the module with all the extra scripts.

Approved-by: Kim Hoogenberg
Approved-by: Henk-Roel van Zijl
  • Loading branch information
maximj authored and HeRovaZy committed Feb 13, 2019
2 parents 78db4a8 + 5d93b9f commit 4eb2891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/controller/payment/mollie/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ function update()
//save tmp file
$temp_file = MOLLIE_TMP . "/mollieUpdate.zip";
$handle = fopen($temp_file, "w+");
$content = $client->get($info["zipball_url"], false, false);
$content = $client->get($info["assets"][0]["browser_download_url"], false, false);
fwrite($handle, $content);
fclose($handle);

Expand Down

0 comments on commit 4eb2891

Please sign in to comment.