From d5381d0ea01bab65fa6938a5836a1cd890b4d9c3 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 7 May 2012 09:11:33 +0200 Subject: [PATCH] Added missing GPLv2 headers in some places. Also made file/class documentation more consistent. Change-Id: Iad15427368d13a6cc11c8512b7265e8c7b8878a5 --- includes/filerepo/FSRepo.php | 15 +++++++++++++ includes/filerepo/FileRepo.php | 15 +++++++++++++ includes/filerepo/FileRepoStatus.php | 17 +++++++++++++- includes/filerepo/ForeignAPIRepo.php | 15 +++++++++++++ includes/filerepo/ForeignDBRepo.php | 17 +++++++++++++- includes/filerepo/ForeignDBViaLBRepo.php | 17 +++++++++++++- includes/filerepo/LocalRepo.php | 15 +++++++++++++ includes/filerepo/NullRepo.php | 15 +++++++++++++ includes/filerepo/RepoGroup.php | 17 +++++++++++++- includes/filerepo/backend/FSFile.php | 17 ++++++++++++++ includes/filerepo/backend/FSFileBackend.php | 17 ++++++++++++++ includes/filerepo/backend/FileBackend.php | 17 ++++++++++++++ .../filerepo/backend/FileBackendGroup.php | 17 ++++++++++++++ .../backend/FileBackendMultiWrite.php | 17 ++++++++++++++ .../filerepo/backend/FileBackendStore.php | 17 ++++++++++++++ includes/filerepo/backend/FileOp.php | 17 ++++++++++++++ .../filerepo/backend/SwiftFileBackend.php | 17 ++++++++++++++ includes/filerepo/backend/TempFSFile.php | 17 ++++++++++++++ .../backend/filejournal/DBFileJournal.php | 17 ++++++++++++++ .../backend/filejournal/FileJournal.php | 17 ++++++++++++++ .../backend/lockmanager/DBLockManager.php | 21 ++++++++++++++++++ .../backend/lockmanager/FSLockManager.php | 21 ++++++++++++++++++ .../backend/lockmanager/LSLockManager.php | 21 ++++++++++++++++++ .../backend/lockmanager/LockManager.php | 17 ++++++++++++++ .../backend/lockmanager/LockManagerGroup.php | 22 +++++++++++++++++++ includes/filerepo/file/ArchivedFile.php | 17 +++++++++++++- includes/filerepo/file/File.php | 15 +++++++++++++ includes/filerepo/file/ForeignAPIFile.php | 15 +++++++++++++ includes/filerepo/file/ForeignDBFile.php | 17 +++++++++++++- includes/filerepo/file/LocalFile.php | 17 +++++++++++++- includes/filerepo/file/OldLocalFile.php | 17 +++++++++++++- .../filerepo/file/UnregisteredLocalFile.php | 17 +++++++++++++- 32 files changed, 538 insertions(+), 9 deletions(-) diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index 22dbdefc10..7435ca992a 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -2,6 +2,21 @@ /** * A repository for files accessible via the local filesystem. * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * http://www.gnu.org/copyleft/gpl.html + * * @file * @ingroup FileRepo */ diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 196c9de004..6533daec98 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -10,6 +10,21 @@ /** * Base code for file repositories. * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * http://www.gnu.org/copyleft/gpl.html + * * @file * @ingroup FileRepo */ diff --git a/includes/filerepo/FileRepoStatus.php b/includes/filerepo/FileRepoStatus.php index 4eea903030..6f28b104bc 100644 --- a/includes/filerepo/FileRepoStatus.php +++ b/includes/filerepo/FileRepoStatus.php @@ -1,6 +1,21 @@