From 8ff287e169bbdf77960166795d71fa20f26bf22b Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Mon, 5 Feb 2018 12:58:48 +0100 Subject: [PATCH 1/2] membersince: include/datetime.php isn't available anymore in core develop --- membersince/membersince.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/membersince/membersince.php b/membersince/membersince.php index c1d38b83f..634825799 100644 --- a/membersince/membersince.php +++ b/membersince/membersince.php @@ -11,8 +11,6 @@ use Friendica\Core\Addon; use Friendica\Core\L10n; use Friendica\Util\DateTimeFormat; -require_once 'include/datetime.php'; - function membersince_install() { Addon::registerHook('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display'); From 476bb091b3b22ad5c959efefcf6736fb49c1c5ef Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Mon, 5 Feb 2018 13:04:28 +0100 Subject: [PATCH 2/2] remove more requirements for include/datetime.php --- dwpost/dwpost.php | 1 - ljpost/ljpost.php | 1 - 2 files changed, 2 deletions(-) diff --git a/dwpost/dwpost.php b/dwpost/dwpost.php index fe4a53ef8..6a9cfe522 100644 --- a/dwpost/dwpost.php +++ b/dwpost/dwpost.php @@ -180,7 +180,6 @@ function dwpost_send(&$a,&$b) { if($dw_username && $dw_password && $dw_blog) { require_once('include/bbcode.php'); - require_once('include/datetime.php'); $title = $b['title']; $post = bbcode($b['body']); diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php index 2a14172f1..de62c9761 100644 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -180,7 +180,6 @@ function ljpost_send(&$a,&$b) { if($lj_username && $lj_password && $lj_blog) { require_once('include/bbcode.php'); - require_once('include/datetime.php'); $title = xmlify($b['title']); $post = bbcode($b['body']);