aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Chanview.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-29 13:50:02 -0700
committerzotlabs <mike@macgirvin.com>2017-05-29 13:50:02 -0700
commit4fcfcc81172ebdfa4a27d3bca94bffe97356f600 (patch)
tree78a53b004556fa1064e9213008e68d897a296fe2 /Zotlabs/Module/Chanview.php
parentb15a5f03e61eeef2086d87f497464b00ada3798e (diff)
downloadvolse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.gz
volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.tar.bz2
volse-hubzilla-4fcfcc81172ebdfa4a27d3bca94bffe97356f600.zip
start deprecation of server_role
Diffstat (limited to 'Zotlabs/Module/Chanview.php')
-rw-r--r--Zotlabs/Module/Chanview.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/Zotlabs/Module/Chanview.php b/Zotlabs/Module/Chanview.php
index 01ee74d5a..c3194184a 100644
--- a/Zotlabs/Module/Chanview.php
+++ b/Zotlabs/Module/Chanview.php
@@ -117,12 +117,8 @@ class Chanview extends \Zotlabs\Web\Controller {
// the remote profile.
// Zot channels will usually have a connect link.
- // If it isn't zot, 'pro' members won't be able to use the connect
- // button as it is a foreign network so just send them to the remote
- // profile.
-
- if($is_zot || \Zotlabs\Lib\System::get_server_role() === 'pro') {
+ if($is_zot) {
if($is_zot && $observer) {
$url = zid($url);
}