]> git.mxchange.org Git - friendica.git/blobdiff - mod/babel.php
Add pwdreset_time field to user table
[friendica.git] / mod / babel.php
index 2b8c379016cf40c15d6fed900aa5e10790db3e4f..a4fbd172eed6282015c2c3d7a0720fe9738b73cf 100644 (file)
@@ -1,11 +1,11 @@
 <?php
 
-use Friendica\App;
+use Friendica\Content\Text\Markdown;
 
 require_once 'include/bbcode.php';
-require_once 'library/markdown.php';
 require_once 'include/bb2diaspora.php';
 require_once 'include/html2bbcode.php';
+require_once 'include/pgettext.php';
 
 function visible_lf($s)
 {
@@ -51,7 +51,7 @@ function babel_content()
                $o .= '<h2>' . t('bb2diaspora: ') . '</h2>' . EOL . EOL;
                $o .= visible_lf($diaspora) . EOL . EOL;
 
-               $html = Markdown($diaspora);
+               $html = Markdown::convert($diaspora);
                $o .= '<h2>' . t('bb2diaspora => Markdown: ') . '</h2>' . EOL . EOL;
                $o .= $html . EOL . EOL;