Remove requires
remove require_once statements
This commit is contained in:
parent
21881f2885
commit
11c7441e94
2 changed files with 0 additions and 2 deletions
|
@ -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';
|
||||
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue