Merge pull request #517 from rabuzarus/20180205_-_fix_membersince
remove include/datetime.php requirementpull/518/head
commit
997d006349
|
@ -180,7 +180,6 @@ function dwpost_send(&$a,&$b) {
|
||||||
if($dw_username && $dw_password && $dw_blog) {
|
if($dw_username && $dw_password && $dw_blog) {
|
||||||
|
|
||||||
require_once('include/bbcode.php');
|
require_once('include/bbcode.php');
|
||||||
require_once('include/datetime.php');
|
|
||||||
|
|
||||||
$title = $b['title'];
|
$title = $b['title'];
|
||||||
$post = bbcode($b['body']);
|
$post = bbcode($b['body']);
|
||||||
|
|
|
@ -180,7 +180,6 @@ function ljpost_send(&$a,&$b) {
|
||||||
if($lj_username && $lj_password && $lj_blog) {
|
if($lj_username && $lj_password && $lj_blog) {
|
||||||
|
|
||||||
require_once('include/bbcode.php');
|
require_once('include/bbcode.php');
|
||||||
require_once('include/datetime.php');
|
|
||||||
|
|
||||||
$title = xmlify($b['title']);
|
$title = xmlify($b['title']);
|
||||||
$post = bbcode($b['body']);
|
$post = bbcode($b['body']);
|
||||||
|
|
|
@ -11,8 +11,6 @@ use Friendica\Core\Addon;
|
||||||
use Friendica\Core\L10n;
|
use Friendica\Core\L10n;
|
||||||
use Friendica\Util\DateTimeFormat;
|
use Friendica\Util\DateTimeFormat;
|
||||||
|
|
||||||
require_once 'include/datetime.php';
|
|
||||||
|
|
||||||
function membersince_install()
|
function membersince_install()
|
||||||
{
|
{
|
||||||
Addon::registerHook('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display');
|
Addon::registerHook('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display');
|
||||||
|
|
Loading…
Reference in New Issue