Remove requires
Remove left over require_once statements.
This commit is contained in:
parent
483c4e3803
commit
7723309310
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue