diff --git a/Documentation/Development/Index.rst b/Documentation/Development/Index.rst index 0a1cf4b..ed5e8dd 100644 --- a/Documentation/Development/Index.rst +++ b/Documentation/Development/Index.rst @@ -5,7 +5,7 @@ ==== -Develompment +Development ==== The extension adds four custom enable fields: diff --git a/Documentation/Development/_removeRestrictionQueryBuilder.php b/Documentation/Development/_removeRestrictionQueryBuilder.php index 07d9066..cecaf28 100644 --- a/Documentation/Development/_removeRestrictionQueryBuilder.php +++ b/Documentation/Development/_removeRestrictionQueryBuilder.php @@ -11,13 +11,13 @@ class MyClass { // ... - + public function myFunction(): void { // ... $connection = GeneralUtility::makeInstance(ConnectionPool::class); - $queryBuilder = $connection->getQueryBuilderForTable('my_table'); + $queryBuilder = $connection->getQueryBuilderForTable('tt_content'); $queryBuilder->getRestrictions()->removeByType(CookieRestriction::class); // ...