mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Merge branch '3.8'
Conflicts: lib/classes/base.php
This commit is contained in:
@@ -822,7 +822,10 @@ abstract class base implements cache_cacheableInterface
|
|||||||
$upgrader->add_steps_complete(1)
|
$upgrader->add_steps_complete(1)
|
||||||
->add_steps(count($list_patches))
|
->add_steps(count($list_patches))
|
||||||
->set_current_message($app->trans('Applying patches on %databox_name%', ['%databox_name%' => $this->get_dbname()]));
|
->set_current_message($app->trans('Applying patches on %databox_name%', ['%databox_name%' => $this->get_dbname()]));
|
||||||
ksort($list_patches);
|
|
||||||
|
uasort($list_patches, function (\patchInterface $patch1, \patchInterface $patch2) {
|
||||||
|
return version::lt($patch1->get_release(), $patch2->get_release()) ? -1 : 1;
|
||||||
|
});
|
||||||
|
|
||||||
$success = true;
|
$success = true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user