summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorElizabeth Danzberger <lizzy7128@tutanota.de>2024-07-05 13:14:49 -0400
committerJulius Härtl <jus@bitgrid.net>2024-07-25 11:11:39 +0200
commitf01dd3872443068aae27579c78636d813da52994 (patch)
tree08b92ab197df9826608ecb5f56abcf96b2cf0614 /lib
parent05ed5aa230fde4e2c9ccf9c18c1e8766dbc9ad8d (diff)
downloadnextcloud-server-f01dd3872443068aae27579c78636d813da52994.tar.gz
nextcloud-server-f01dd3872443068aae27579c78636d813da52994.zip
fix: Move field classes out of the server api
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/composer/composer/autoload_classmap.php2
-rw-r--r--lib/composer/composer/autoload_static.php2
-rw-r--r--lib/public/Files/Template/Field.php16
-rw-r--r--lib/public/Files/Template/FieldType.php12
4 files changed, 0 insertions, 32 deletions
diff --git a/lib/composer/composer/autoload_classmap.php b/lib/composer/composer/autoload_classmap.php
index 6d8f1578997..6ea104e8bb9 100644
--- a/lib/composer/composer/autoload_classmap.php
+++ b/lib/composer/composer/autoload_classmap.php
@@ -436,8 +436,6 @@ return array(
'OCP\\Files\\Storage\\IStorageFactory' => $baseDir . '/lib/public/Files/Storage/IStorageFactory.php',
'OCP\\Files\\Storage\\IWriteStreamStorage' => $baseDir . '/lib/public/Files/Storage/IWriteStreamStorage.php',
'OCP\\Files\\Template\\BeforeGetTemplatesEvent' => $baseDir . '/lib/public/Files/Template/BeforeGetTemplatesEvent.php',
- 'OCP\\Files\\Template\\Field' => $baseDir . '/lib/public/Files/Template/Field.php',
- 'OCP\\Files\\Template\\FieldType' => $baseDir . '/lib/public/Files/Template/FieldType.php',
'OCP\\Files\\Template\\FileCreatedFromTemplateEvent' => $baseDir . '/lib/public/Files/Template/FileCreatedFromTemplateEvent.php',
'OCP\\Files\\Template\\ICustomTemplateProvider' => $baseDir . '/lib/public/Files/Template/ICustomTemplateProvider.php',
'OCP\\Files\\Template\\ITemplateManager' => $baseDir . '/lib/public/Files/Template/ITemplateManager.php',
diff --git a/lib/composer/composer/autoload_static.php b/lib/composer/composer/autoload_static.php
index 769a6c300ca..9b7c81b3a12 100644
--- a/lib/composer/composer/autoload_static.php
+++ b/lib/composer/composer/autoload_static.php
@@ -469,8 +469,6 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
'OCP\\Files\\Storage\\IStorageFactory' => __DIR__ . '/../../..' . '/lib/public/Files/Storage/IStorageFactory.php',
'OCP\\Files\\Storage\\IWriteStreamStorage' => __DIR__ . '/../../..' . '/lib/public/Files/Storage/IWriteStreamStorage.php',
'OCP\\Files\\Template\\BeforeGetTemplatesEvent' => __DIR__ . '/../../..' . '/lib/public/Files/Template/BeforeGetTemplatesEvent.php',
- 'OCP\\Files\\Template\\Field' => __DIR__ . '/../../..' . '/lib/public/Files/Template/Field.php',
- 'OCP\\Files\\Template\\FieldType' => __DIR__ . '/../../..' . '/lib/public/Files/Template/FieldType.php',
'OCP\\Files\\Template\\FileCreatedFromTemplateEvent' => __DIR__ . '/../../..' . '/lib/public/Files/Template/FileCreatedFromTemplateEvent.php',
'OCP\\Files\\Template\\ICustomTemplateProvider' => __DIR__ . '/../../..' . '/lib/public/Files/Template/ICustomTemplateProvider.php',
'OCP\\Files\\Template\\ITemplateManager' => __DIR__ . '/../../..' . '/lib/public/Files/Template/ITemplateManager.php',
diff --git a/lib/public/Files/Template/Field.php b/lib/public/Files/Template/Field.php
deleted file mode 100644
index ccab7f48b00..00000000000
--- a/lib/public/Files/Template/Field.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-/**
- * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-namespace OCP\Files\Template;
-
-class Field {
- public FieldType $type;
-
- public function __construct(FieldType $type) {
- $this->type = $type;
- }
-}
diff --git a/lib/public/Files/Template/FieldType.php b/lib/public/Files/Template/FieldType.php
deleted file mode 100644
index aaf66ce8d27..00000000000
--- a/lib/public/Files/Template/FieldType.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-/**
- * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
- * SPDX-License-Identifier: AGPL-3.0-or-later
- */
-
-namespace OCP\Files\Template;
-
-enum FieldType {
- case PlainText;
-}