From 80ba415593394bd5acafed8e61a25b77077ad3b9 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 24 Aug 2024 15:32:32 +0200 Subject: [PATCH] REUSE some more files. --- .devcontainer/include/autoinstall.config.php | 24 ++++---------------- bin/wait-for-connection | 21 +++-------------- mods/license/license_php.template | 19 ---------------- mods/local.config.ci.php | 18 +++------------ 4 files changed, 11 insertions(+), 71 deletions(-) delete mode 100644 mods/license/license_php.template diff --git a/.devcontainer/include/autoinstall.config.php b/.devcontainer/include/autoinstall.config.php index f69f010ea3..b61ba46c31 100644 --- a/.devcontainer/include/autoinstall.config.php +++ b/.devcontainer/include/autoinstall.config.php @@ -1,23 +1,9 @@ . - * - */ + +// Copyright (C) 2010-2024, the Friendica project +// SPDX-FileCopyrightText: 2010-2024 the Friendica project +// +// SPDX-License-Identifier: AGPL-3.0-or-later return [ 'database' => [ diff --git a/bin/wait-for-connection b/bin/wait-for-connection index 27f60f81b2..66796249f1 100755 --- a/bin/wait-for-connection +++ b/bin/wait-for-connection @@ -1,25 +1,10 @@ #!/usr/bin/php . - * - * This script tries to connect to a database for a given interval - * Useful in case of installation e.g. to wait for the database to not generate unnecessary errors + * SPDX-License-Identifier: AGPL-3.0-or-later * * Usage: php bin/wait-for-connection {HOST} {PORT} [{TIMEOUT}] */ diff --git a/mods/license/license_php.template b/mods/license/license_php.template deleted file mode 100644 index f77cf62e7a..0000000000 --- a/mods/license/license_php.template +++ /dev/null @@ -1,19 +0,0 @@ -. - * diff --git a/mods/local.config.ci.php b/mods/local.config.ci.php index 98e6799972..fbb3bb2d02 100644 --- a/mods/local.config.ci.php +++ b/mods/local.config.ci.php @@ -1,21 +1,9 @@ . + * SPDX-License-Identifier: AGPL-3.0-or-later * */