File tree 2 files changed +0
-46
lines changed
Resources/Private/CodeTemplates/Extbase
2 files changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -504,16 +504,6 @@ protected function generateTyposcriptFiles(): void
504
504
} catch (Exception $ e ) {
505
505
throw new Exception ('Could not generate typoscript constants, error: ' . $ e ->getMessage ());
506
506
}
507
-
508
- // Generate Static TypoScript
509
- try {
510
- if ($ this ->extension ->getDomainObjectsThatNeedMappingStatements ()) {
511
- $ fileContents = $ this ->generateStaticTyposcript ();
512
- $ this ->writeFile ($ this ->extensionDirectory . 'ext_typoscript_setup.typoscript ' , $ fileContents );
513
- }
514
- } catch (Exception $ e ) {
515
- throw new Exception ('Could not generate static typoscript, error: ' . $ e ->getMessage ());
516
- }
517
507
}
518
508
}
519
509
@@ -1282,17 +1272,6 @@ public function generateTyposcriptConstants(): ?string
1282
1272
]);
1283
1273
}
1284
1274
1285
- /**
1286
- * @return string|null
1287
- * @throws Exception
1288
- */
1289
- public function generateStaticTyposcript (): ?string
1290
- {
1291
- return $ this ->renderTemplate ('ext_typoscript_setup.txtt ' , [
1292
- 'extension ' => $ this ->extension
1293
- ]);
1294
- }
1295
-
1296
1275
/**
1297
1276
* @param string $extensionDirectory
1298
1277
* @param string $classType
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments