Skip to content

Commit

Permalink
Adding method upgrade to package manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Feb 2, 2015
1 parent c5d1cac commit f685fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/admin/models/package.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public function download($data)
// Prepare text to save for the xml package description
$text = '';
$text .= '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
$text .= '<extension type="package" version="' . $small_version . '">' . "\n";
$text .= '<extension type="package" version="' . $small_version . '" method="upgrade">' . "\n";
$text .= "\t" . '<name>' . $data['name'] . '</name>' . "\n";
$text .= "\t" . '<packagename>' . $data['language'] . '</packagename>' . "\n";
$text .= "\t" . '<version>' . $data['version'] . '.' . $data['packversion'] . '</version>' . "\n";
Expand Down

0 comments on commit f685fd2

Please sign in to comment.