Delete include/items.php
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 14 Jul 2020 14:15:19 +0000 (10:15 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 14 Jul 2020 14:21:31 +0000 (10:21 -0400)
- Remove all references

composer.json
doc/Addons.md
doc/Message-Flow.md
doc/de/Addons.md
doc/de/Message-Flow.md
include/items.php [deleted file]
mod/item.php
src/Worker/Notifier.php

index 2cb863c..b3dd0ec 100644 (file)
@@ -82,7 +82,6 @@
                        "include/conversation.php",
                        "include/dba.php",
                        "include/enotify.php",
-                       "include/items.php",
                        "boot.php"
                ]
        },
index bff707f..54363cb 100644 (file)
@@ -518,10 +518,6 @@ Here is a complete list of all hook callbacks with file locations (as of 24-Sep-
     Hook::callAll('item_photo_menu', $args);
     Hook::callAll('jot_tool', $jotplugins);
 
-### include/items.php
-
-    Hook::callAll('page_info_data', $data);
-
 ### mod/directory.php
 
     Hook::callAll('directory_item', $arr);
index 69a10b2..e967985 100644 (file)
@@ -6,8 +6,6 @@ There are multiple paths, using multiple protocols and message formats.
 
 Those attempting to understand these message flows should become familiar with (at the minimum) the [DFRN protocol document](https://github.com/friendica/friendica/blob/stable/spec/dfrn2.pdf) and the message passing elements of the OStatus stack (salmon and Pubsubhubbub).
 
-Most message passing involves the file include/items.php, which has functions for several feed-related import/export activities. 
-
 When a message is posted, all immediate deliveries to all networks are made using include/notifier.php, which chooses how (and to whom) to deliver the message.
 This file also invokes the local side of all deliveries including DFRN-notify.
 
index b54f011..745010f 100644 (file)
@@ -226,10 +226,6 @@ Eine komplette Liste aller Hook-Callbacks mit den zugehörigen Dateien (am 01-Ap
     Hook::callAll('item_photo_menu', $args);
     Hook::callAll('jot_tool', $jotplugins);
 
-### include/items.php
-
-    Hook::callAll('page_info_data', $data);
-
 ### mod/directory.php
 
     Hook::callAll('directory_item', $arr);
index 0a78d69..ef2a0a2 100644 (file)
@@ -8,8 +8,6 @@ Es gibt verschiedene Pfade, die verschiedene Protokolle und Nachrichtenformate n
 
 Diejenigen, die den Nachrichtenfluss genauer verstehen wollen, sollten sich mindestens mit dem DFRN-Protokoll ([Dokument mit den DFRN Spezifikationen](https://github.com/friendica/friendica/blob/stable/spec/dfrn2.pdf)) und den Elementen zur Nachrichtenverarbeitung des OStatus Stack informieren (salmon und Pubsubhubbub).
 
-Der Großteil der Nachrichtenverarbeitung nutzt die Datei include/items.php, welche Funktionen für verschiedene Feed-bezogene Import-/Exportaktivitäten liefert.
-
 Wenn eine Nachricht veröffentlicht wird, werden alle Übermittlungen an alle Netzwerke mit include/notifier.php durchgeführt, welche entscheidet, wie und an wen die Nachricht geliefert wird. 
 Diese Datei bindet dabei die lokale Bearbeitung aller Übertragungen ein inkl. dfrn-notify.
 
diff --git a/include/items.php b/include/items.php
deleted file mode 100644 (file)
index 23b63ec..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/**
- * @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/>.
- *
- */
index c30bbcc..e2d47ae 100644 (file)
@@ -58,8 +58,6 @@ use Friendica\Util\Security;
 use Friendica\Util\Strings;
 use Friendica\Worker\Delivery;
 
-require_once __DIR__ . '/../include/items.php';
-
 function item_post(App $a) {
        if (!Session::isAuthenticated()) {
                throw new HTTPException\ForbiddenException();
index 8bcc0d3..c7b61da 100644 (file)
@@ -42,8 +42,6 @@ use Friendica\Protocol\Diaspora;
 use Friendica\Protocol\OStatus;
 use Friendica\Protocol\Salmon;
 
-require_once 'include/items.php';
-
 /*
  * The notifier is typically called with:
  *