Skip to content

Commit

Permalink
Update add_hook.md
Browse files Browse the repository at this point in the history
It's not possible for a kidam :'(
  • Loading branch information
Touxten authored Nov 25, 2024
1 parent 54cb2ab commit b0dfb10
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contribute/contribute-pull-requests/add_hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ The second step is correctly adding the `Hook` during installation. You need to

The last step is to make this new hook available for users upgrading from older versions of PrestaShop. You need to add it to the current version of the SQL script of the Autoupgrade module, as can be seen in this [PR](https://github.com/PrestaShop/autoupgrade/pull/672/files).

If you are unsure which file to put the code inside the [autoupgrade module](https://github.com/PrestaShop/autoupgrade), feel free to ping `@PrestaShop/Committers`.

You can also use a [helper](https://github.com/PrestaShop/autoupgrade/pull/577/files) available to add a new hook during the upgrade process for a given version.
If you are unsure which file to put the code inside the [autoupgrade module](https://github.com/PrestaShop/autoupgrade).
You can also use a [helper](https://github.com/PrestaShop/autoupgrade/pull/577/files) available to add a new hook during the upgrade process for a given version.

0 comments on commit b0dfb10

Please sign in to comment.