aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
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 /Zotlabs/Module
parentadba56a5e539bfc958bd0f2f9f7d807d38c189f9 (diff)
downloadvolse-hubzilla-6a7e06f11cb200d4ed1ea29688a3d8eaf98c45ea.tar.gz
volse-hubzilla-6a7e06f11cb200d4ed1ea29688a3d8eaf98c45ea.tar.bz2
volse-hubzilla-6a7e06f11cb200d4ed1ea29688a3d8eaf98c45ea.zip
deprecate get_rpost_path()
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Rpost.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Rpost.php b/Zotlabs/Module/Rpost.php
index 031270845..ff306d138 100644
--- a/Zotlabs/Module/Rpost.php
+++ b/Zotlabs/Module/Rpost.php
@@ -1,6 +1,8 @@
<?php
namespace Zotlabs\Module; /** @file */
+use Zotlabs\Lib\Libzot;
+
require_once('include/acl_selectors.php');
require_once('include/crypto.php');
require_once('include/items.php');
@@ -42,7 +44,7 @@ class Rpost extends \Zotlabs\Web\Controller {
// by the wretched beast called 'suhosin'. All the browsers now allow long GET requests, but suhosin
// blocks them.
- $url = get_rpost_path(\App::get_observer());
+ $url = Libzot::get_rpost_path(\App::get_observer());
// make sure we're not looping to our own hub
if(($url) && (! stristr($url, \App::get_hostname()))) {
foreach($_GET as $key => $arg) {