Overview
Comment: | Fix deprecated getConfig |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
37fd54cde3f98bb5fcc2a10d4cd979f2 |
User & Date: | bohwaz on 2021-04-18 13:09:04 |
Other Links: | manifest | tags |
Context
2021-04-18
| ||
13:11 | Fix upgrade when using local_login check-in: ba97d1eb6d user: bohwaz tags: trunk, stable | |
13:09 | Fix deprecated getConfig check-in: 37fd54cde3 user: bohwaz tags: trunk, stable | |
13:07 | return user message when trying to edit a non-existing file check-in: 012e659381 user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Install.php from [ad5efeb199] to [9006c13de2].
︙ | ︙ | |||
13 14 15 16 17 18 19 | * Pour procéder à l'installation de l'instance Garradin * Utile pour automatiser l'installation sans passer par la page d'installation */ class Install { static public function reset(Membres\Session $session, $password, array $options = []) { | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * Pour procéder à l'installation de l'instance Garradin * Utile pour automatiser l'installation sans passer par la page d'installation */ class Install { static public function reset(Membres\Session $session, $password, array $options = []) { $config = (object) Config::getInstance()->asArray(); $user = $session->getUser(); if (!$session->checkPassword($password, $user->passe)) { throw new UserException('Le mot de passe ne correspond pas.'); } |
︙ | ︙ |