mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Fixed CLI self-upgrade from Grav 1.6 [#3079]
This commit is contained in:
parent
9e6d38bc1a
commit
b66287cbb9
|
|
@ -36,6 +36,7 @@
|
|||
* Escape titles in Flex pages list [flex-objects#84](https://github.com/trilbymedia/grav-plugin-flex-objects/issues/84)
|
||||
* Fixed Purge successful message only working in Scheduler but broken in CLI and Admin [#1935](https://github.com/getgrav/grav-plugin-admin/issues/1935)
|
||||
* Fixed `system://` stream is causing issues in Admin, making Media tab to disappear and possibly causing other issues [#3072](https://github.com/getgrav/grav/issues/3072)
|
||||
* Fixed CLI self-upgrade from Grav 1.6 [#3079](https://github.com/getgrav/grav/issues/3079)
|
||||
|
||||
# v1.7.0-rc.17
|
||||
## 10/07/2020
|
||||
|
|
|
|||
|
|
@ -331,7 +331,10 @@ class InitializeProcessor extends ProcessorBase
|
|||
|
||||
/** @var Pages $pages */
|
||||
$pages = $grav['pages'];
|
||||
$pages->register();
|
||||
// Upgrading from older Grav versions won't work without checking if the method exists.
|
||||
if (method_exists($pages, 'register')) {
|
||||
$pages->register();
|
||||
}
|
||||
|
||||
$this->stopTimer('_init_pages_register');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user