Remove requires

Remove left over require_once statements.
This commit is contained in:
Adam Magness 2018-01-10 12:11:11 -05:00
parent 483c4e3803
commit 7723309310
2 changed files with 2 additions and 4 deletions

View 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;
}

View 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';