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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function file_tag_unsave_file($uid, $item, $file, $cat = false) {
|
function file_tag_unsave_file($uid, $item, $file, $cat = false)
|
||||||
require_once "include/files.php";
|
{
|
||||||
|
|
||||||
if (! intval($uid)) {
|
if (! intval($uid)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,6 @@ use Friendica\Util\Emailer;
|
||||||
|
|
||||||
require_once 'include/enotify.php';
|
require_once 'include/enotify.php';
|
||||||
require_once 'include/tags.php';
|
require_once 'include/tags.php';
|
||||||
require_once 'include/files.php';
|
|
||||||
require_once 'include/threads.php';
|
require_once 'include/threads.php';
|
||||||
require_once 'include/text.php';
|
require_once 'include/text.php';
|
||||||
require_once 'include/items.php';
|
require_once 'include/items.php';
|
||||||
|
|
Loading…
Reference in a new issue