Fabian Schmengler / f9b5c1e52b
Magento 2: Only set maintenance mode once if needed (#3469)
* Only set maintenance mode once if needed

Also:
- by adding magento:maintenance:enable-if-needed to the task list instead of invoking it directly, it is now possible to use after() to add custom tasks to be performed in maintenance mode
- the maintenance_mode_status_active check was removed because it is unnecessary and can return wrong results because of caching

* Update docs
2023-03-06 19:41:41 +01:00
..
2023-01-15 18:39:43 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2022-12-15 16:59:25 +01:00
2020-10-25 18:00:05 +03:00
2020-10-25 18:00:05 +03:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2022-07-23 15:45:59 +02:00
2021-11-08 22:59:39 +01:00
2022-02-24 17:54:56 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00
2021-11-08 22:59:39 +01:00