forked from friendica/friendica-addons
Merge pull request #517 from rabuzarus/20180205_-_fix_membersince
remove include/datetime.php requirement
This commit is contained in:
commit
997d006349
|
@ -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']);
|
||||
|
|
|
@ -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']);
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue