X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fsubscribe.php;h=ce1d367cf894fe01a009a23dfe62d82423cecb5a;hb=25198a8d4cee5b2182f1ecb99192a4108a01afa4;hp=fad153fc6e39f1f0110775527eabdce15717f970;hpb=5a2bab07b25443eacc7f5cfde4b9932cdb511e92;p=quix0rs-gnu-social.git diff --git a/actions/subscribe.php b/actions/subscribe.php index fad153fc6e..ce1d367cf8 100644 --- a/actions/subscribe.php +++ b/actions/subscribe.php @@ -1,7 +1,7 @@ user = common_current_user(); if (empty($this->user)) { - // TRANS: Client error displayed trying to subscribe when not logged in. + // TRANS: Error message displayed when trying to perform an action that requires a logged in user. $this->clientError(_('Not logged in.')); return false; } @@ -111,18 +111,6 @@ class SubscribeAction extends Action return false; } - // OMB 0.1 doesn't have a mechanism for local-server- - // originated subscription. - - $omb01 = Remote_profile::staticGet('id', $other_id); - - if (!empty($omb01)) { - // TRANS: Client error displayed trying to subscribe to an OMB 0.1 remote profile. - $this->clientError(_('You cannot subscribe to an OMB 0.1'. - ' remote profile with this action.')); - return false; - } - return true; }