Remove requires

remove require_once statements
This commit is contained in:
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/tags.php';
require_once 'include/text.php'; require_once 'include/text.php';
require_once 'include/threads.php'; require_once 'include/threads.php';
require_once 'include/plaintext.php';
require_once 'mod/share.php'; require_once 'mod/share.php';
require_once 'include/enotify.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 // Setting the object type if not defined before
if (!$objecttype) { if (!$objecttype) {
$objecttype = ACTIVITY_OBJ_NOTE; // Default value $objecttype = ACTIVITY_OBJ_NOTE; // Default value
require_once 'include/plaintext.php';
$objectdata = Plaintext::getAttachedData($body); $objectdata = Plaintext::getAttachedData($body);
if ($objectdata["type"] == "link") { if ($objectdata["type"] == "link") {