Compare commits

..

No commits in common. "53ac1436db5c171913a5d9678e32e7cb6e535efd" and "24f25388ce131968e2c46b62e1a2d5701da69aeb" have entirely different histories.

3 changed files with 1 additions and 27 deletions

View File

@ -12,8 +12,8 @@ namespace Cjel\TemplatesAide\Controller;
*
***/
use Cjel\TemplatesAide\Traits\FormatResultTrait;
use Cjel\TemplatesAide\Traits\ValidationTrait;
use Cjel\TemplatesAide\Traits\FormatResultTrait;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use TYPO3\CMS\Core\Cache\CacheManager;
@ -23,8 +23,6 @@ use TYPO3\CMS\Core\Log\LogManager;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Extbase\Object\ObjectManager;
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
use TYPO3\CMS\Extbase\Reflection\ClassSchema;
use TYPO3\CMS\Extbase\Reflection\ReflectionService;
use TYPO3\CMS\Frontend\Plugin\AbstractPlugin;
@ -259,17 +257,6 @@ class AbstractEIDController
}
}
/**
*
*/
public function persistAll()
{
($this->objectManager->get(
PersistenceManager::class
))->persistAll();
}
/**
* return function
*

View File

@ -123,7 +123,6 @@ trait ValidationTrait
{
$validator = new Validator();
$input = ArrayUtility::removeEmptyStrings($input);
unset($input['eID']);
//@TODO make optional when usiing rest api
//array_walk_recursive(
// $input,

View File

@ -54,16 +54,4 @@ class DatabaseUtility
->createQueryBuilder();
return $queryBuilder;
}
/**
* Gets a connection for a table and returns it
*
* @param $tablename string table name
* @return object connection
*/
public static function getConnectionFromTableName($tableName)
{
return GeneralUtility::makeInstance(ConnectionPool::class)
->getConnectionForTable($tableName);
}
}