Remove requires

remove require_once statements
pull/4335/head
Adam Magness 2018-01-26 19:15:57 -05:00
parent 21881f2885
commit 11c7441e94
2 changed files with 0 additions and 2 deletions

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

View 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") {