Merge pull request #517 from rabuzarus/20180205_-_fix_membersince

remove include/datetime.php requirement
pull/518/head
Tobias Diekershoff 2018-02-05 13:59:27 +01:00 committed by GitHub
commit 997d006349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 4 deletions

View File

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

View File

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

View File

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