mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-28 09:53:17 +00:00
Merge pull request #517 from rabuzarus/20180205_-_fix_membersince
remove include/datetime.php requirement
This commit is contained in:
commit
997d006349
3 changed files with 0 additions and 4 deletions
|
@ -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 a new issue