mirror of
https://github.com/friendica/friendica
synced 2025-05-09 20:24:10 +02:00
Add license info at Friendica PHP files
This commit is contained in:
parent
23c64b9a11
commit
85dc9bb96b
143 changed files with 2542 additions and 242 deletions
|
@ -1,11 +1,22 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Protocol/diaspora.php
|
||||
* The implementation of the diaspora protocol
|
||||
* @copyright Copyright (C) 2020, Friendica
|
||||
*
|
||||
* @license GNU AGPL version 3 or any later version
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* The new protocol is described here: http://diaspora.github.io/diaspora_federation/index.html
|
||||
* This implementation here interprets the old and the new protocol and sends the new one.
|
||||
* In the future we will remove most stuff from "validPosting" and interpret only the new protocol.
|
||||
*/
|
||||
|
||||
namespace Friendica\Protocol;
|
||||
|
@ -40,7 +51,6 @@ use SimpleXMLElement;
|
|||
|
||||
/**
|
||||
* This class contain functions to create and send Diaspora XML files
|
||||
*
|
||||
*/
|
||||
class Diaspora
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue