Commit 8fb401f1 authored by Jens Jacobsen's avatar Jens Jacobsen

Fix usage of old class name for Tx_TerFe2_Utility_Category

parent db7aaffa
Pipeline #955 passed with stages
in 2 minutes and 19 seconds
......@@ -24,6 +24,7 @@ namespace T3o\TerFe2\Provider;
*
* This copyright notice MUST APPEAR in all copies of the script!
******************************************************************/
use T3o\TerFe2\Utility\Category;
/**
* Extension provider using local files
......@@ -249,7 +250,7 @@ class FileProvider extends \T3o\TerFe2\Provider\AbstractProvider
$extensionModel = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension::class);
$states = $extensionModel->getDefaultState(null);
$states = array_flip($states);
$categories = Tx_TerFe2_Utility_Category::getDefaultCategories(null);
$categories = Category::getDefaultCategories(null);
$categories = array_flip($categories);
$extensions = array();
......
<?php
namespace T3o\TerFe2\Task;
use T3o\TerFe2\Utility\Category;
/*******************************************************************
* Copyright notice
......@@ -204,7 +206,7 @@ class ImportAllExtensionsTask extends \TYPO3\CMS\Extbase\Scheduler\Task
{
$extensionModel = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension::class);
$states = $extensionModel->getDefaultState(null);
$categories = Tx_TerFe2_Utility_Category::getDefaultCategories(null);
$categories = Category::getDefaultCategories(null);
$insertVersion = array(
'pid' => $this->pid,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment