From 1f76b379f3f905bdce62749ee81e197ac1f8b968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Gomes=20da=20Silva=20Lisboa?= Date: Thu, 14 Dec 2017 08:30:33 -0200 Subject: [PATCH] Revert "Allow customized checks on bootstrap #7491" This reverts commit e89dde372e0ff74f60849fff70ee1abe9a5455d1. --- index.php | 2 +- lib/check.php | 30 --------------------- lib/{check_version.php => versioncheck.php} | 0 3 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 lib/check.php rename lib/{check_version.php => versioncheck.php} (100%) diff --git a/index.php b/index.php index 4ccf9d74d583c..858e433b98a72 100644 --- a/index.php +++ b/index.php @@ -28,7 +28,7 @@ * */ -require_once __DIR__ . '/lib/check.php'; +require_once __DIR__ . '/lib/versioncheck.php'; try { diff --git a/lib/check.php b/lib/check.php deleted file mode 100644 index 8a14d5e1ebfef..0000000000000 --- a/lib/check.php +++ /dev/null @@ -1,30 +0,0 @@ - - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see - * - */ -$checks = scandir(__DIR__); -foreach($checks as $check){ - if (substr($check,0,6) == 'check_' ){ - include $check; - } -} \ No newline at end of file diff --git a/lib/check_version.php b/lib/versioncheck.php similarity index 100% rename from lib/check_version.php rename to lib/versioncheck.php