]> git.mxchange.org Git - friendica.git/commitdiff
Remove requires
authorAdam Magness <adam.magness@gmail.com>
Wed, 10 Jan 2018 17:11:11 +0000 (12:11 -0500)
committerAdam Magness <adam.magness@gmail.com>
Wed, 10 Jan 2018 17:11:11 +0000 (12:11 -0500)
Remove left over require_once statements.

include/text.php
mod/item.php

index f82a2ea3d314332365146b96fd7e894c147257c3..232cbc5c9e92d8169f2fe374b47ca7acd9f23bde 100644 (file)
@@ -1926,9 +1926,8 @@ function file_tag_save_file($uid, $item, $file)
        return true;
 }
 
-function file_tag_unsave_file($uid, $item, $file, $cat = false) {
-       require_once "include/files.php";
-
+function file_tag_unsave_file($uid, $item, $file, $cat = false)
+{
        if (! intval($uid)) {
                return false;
        }
index 868ed54ad5d5e3e70497715d1b91271ad60100eb..e234ada98357e61ae88d01d975677d84364c6dbb 100644 (file)
@@ -29,7 +29,6 @@ use Friendica\Util\Emailer;
 
 require_once 'include/enotify.php';
 require_once 'include/tags.php';
-require_once 'include/files.php';
 require_once 'include/threads.php';
 require_once 'include/text.php';
 require_once 'include/items.php';