Skip to content

Commit b1916af

Browse files
committed
PT-4076 - implement update method to prevent calling of install method on plugin update
1 parent c54b04d commit b1916af

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Bootstrap.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ public function install()
8888
return true;
8989
}
9090

91+
/**
92+
* @param string $version
93+
* @return bool
94+
*/
95+
public function update($version)
96+
{
97+
return true;
98+
}
99+
91100
/**
92101
* Standard plugin enable method
93102
*

plugin.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@
88
"link": "http://store.shopware.com",
99
"author": "Shopware AG",
1010

11-
"currentVersion": "1.0.2",
11+
"currentVersion": "1.0.3",
1212

1313
"changelog": {
1414
"de": {
15+
"1.0.3": "PT-4076 - Bugfix: Fehler beim Update;",
1516
"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;",
1617
"1.0.1": "PT-3324 - Bugfix: Fehler mit Herstellerseiten;",
1718
"1.0.0": "PT-2775 - Erstveröffentlichung;"
1819
},
1920
"en": {
21+
"1.0.3": "PT-4076 - Bugfix: Error on update;",
2022
"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;",
2123
"1.0.1": "PT-3324 - Bugfix: Error on supplier pages;",
2224
"1.0.0": "PT-2775 - First release;"

0 commit comments

Comments
 (0)