]> git.mxchange.org Git - friendica.git/commitdiff
Remove requires
authorAdam Magness <adam.magness@gmail.com>
Sat, 27 Jan 2018 00:15:57 +0000 (19:15 -0500)
committerAdam Magness <adam.magness@gmail.com>
Sat, 27 Jan 2018 00:15:57 +0000 (19:15 -0500)
remove require_once statements

include/items.php
mod/item.php

index d9e96ba8145a9eca97dc608f5f13aec22f79f3db..edc757dc2e0590a6935e0079cb1a216dc1f66094 100644 (file)
@@ -28,7 +28,6 @@ require_once 'include/bbcode.php';
 require_once 'include/tags.php';
 require_once 'include/text.php';
 require_once 'include/threads.php';
-require_once 'include/plaintext.php';
 require_once 'mod/share.php';
 require_once 'include/enotify.php';
 
index 2cdb9dd85a41a9d2cb0e0e8cdfe2d3b0e03fc9a6..10b4d47c4afb63b59b0bac6df0a87bb7d7f6293f 100644 (file)
@@ -524,7 +524,6 @@ function item_post(App $a) {
        // Setting the object type if not defined before
        if (!$objecttype) {
                $objecttype = ACTIVITY_OBJ_NOTE; // Default value
-               require_once 'include/plaintext.php';
                $objectdata = Plaintext::getAttachedData($body);
 
                if ($objectdata["type"] == "link") {