Remove requires

remove require_once statements
2022.09-rc
Adam Magness 2018-01-26 19:15:57 -05:00
rodzic 21881f2885
commit 11c7441e94
2 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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