aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-27 09:09:52 +0000
committerMario <mario@mariovavti.com>2021-05-27 09:09:52 +0000
commit6a7e06f11cb200d4ed1ea29688a3d8eaf98c45ea (patch)
tree0052b87997e7962415f70e253bce1dfb538098f0 /include/bbcode.php
parentadba56a5e539bfc958bd0f2f9f7d807d38c189f9 (diff)
downloadvolse-hubzilla-6a7e06f11cb200d4ed1ea29688a3d8eaf98c45ea.tar.gz
volse-hubzilla-6a7e06f11cb200d4ed1ea29688a3d8eaf98c45ea.tar.bz2
volse-hubzilla-6a7e06f11cb200d4ed1ea29688a3d8eaf98c45ea.zip
deprecate get_rpost_path()
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 228af7faa..5873d5e68 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -5,6 +5,7 @@
*/
use Zotlabs\Lib\SvgSanitizer;
+use Zotlabs\Lib\Libzot;
require_once('include/oembed.php');
require_once('include/event.php');
@@ -616,9 +617,9 @@ function bb_ShareAttributesSimple($match) {
function rpost_callback($match) {
if ($match[2]) {
- return str_replace($match[0], get_rpost_path(App::get_observer()) . '&title=' . urlencode($match[2]) . '&body=' . urlencode($match[3]), $match[0]);
+ return str_replace($match[0], Libzot::get_rpost_path(App::get_observer()) . '&title=' . urlencode($match[2]) . '&body=' . urlencode($match[3]), $match[0]);
} else {
- return str_replace($match[0], get_rpost_path(App::get_observer()) . '&body=' . urlencode($match[3]), $match[0]);
+ return str_replace($match[0], Libzot::get_rpost_path(App::get_observer()) . '&body=' . urlencode($match[3]), $match[0]);
}
}