Skip to content

Commit

Permalink
PT-4076 - implement update method to prevent calling of install metho…
Browse files Browse the repository at this point in the history
…d on plugin update
  • Loading branch information
mitelg committed Oct 12, 2015
1 parent c54b04d commit b1916af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ public function install()
return true;
}

/**
* @param string $version
* @return bool
*/
public function update($version)
{
return true;
}

/**
* Standard plugin enable method
*
Expand Down
4 changes: 3 additions & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@
"link": "http://store.shopware.com",
"author": "Shopware AG",

"currentVersion": "1.0.2",
"currentVersion": "1.0.3",

"changelog": {
"de": {
"1.0.3": "PT-4076 - Bugfix: Fehler beim Update;",
"1.0.2": "PT-3618 - Bugfix: Backendmodul Artikel ohne Bilder; PT-3828 - Bugfix: Fehler beim Sortieren von nicht gepinnten Artikeln; PT-3362, PT-3534 - Bugfix: Doppelte Artikel im Listing; PT-3402, PT-3428, PT-3881 - Bugfix: Kleinere Fehler und Verbesserungen;",
"1.0.1": "PT-3324 - Bugfix: Fehler mit Herstellerseiten;",
"1.0.0": "PT-2775 - Erstveröffentlichung;"
},
"en": {
"1.0.3": "PT-4076 - Bugfix: Error on update;",
"1.0.2": "PT-3618 - Bugfix: Backend module products without images; PT-3828 - Bugfix: Error on sorting of not pinned products; PT-3362, PT-3534 - Bugfix: doubled products at listing; PT-3402, PT-3428, PT-3881 - Bugfix: Minor issues and improvements;",
"1.0.1": "PT-3324 - Bugfix: Error on supplier pages;",
"1.0.0": "PT-2775 - First release;"
Expand Down

0 comments on commit b1916af

Please sign in to comment.