Skip to content

Commit

Permalink
[TASK] Fixed upgrade wizards
Browse files Browse the repository at this point in the history
  • Loading branch information
hojalatheef committed Oct 16, 2024
1 parent f6fa176 commit f5443d6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* LICENSE file that was distributed with this source code.
*/

namespace JWeiland\Glossary2\Updater;
namespace JWeiland\Glossary2\Updates;

use Doctrine\DBAL\Exception;
use TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools;
Expand Down Expand Up @@ -86,6 +86,7 @@ public function getPrerequisites(): array
* Performs the accordant updates.
*
* @return bool Whether everything went smoothly or not
* @throws Exception
*/
public function executeUpdate(): bool
{
Expand Down
7 changes: 0 additions & 7 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@
\JWeiland\Glossary2\Controller\GlossaryController::class => 'list, listWithoutGlossar, show',
],
);

// Update old flex form settings
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['glossary2UpdateOldFlexFormFields']
= \JWeiland\Glossary2\Updater\MoveOldFlexFormSettingsUpdater::class;
// Update slugs of glossary records
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['glossary2UpdateSlug']
= \JWeiland\Glossary2\Updater\GlossarySlugUpdater::class;
});

0 comments on commit f5443d6

Please sign in to comment.