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