diff options
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 9e1b1a8c9..8bd99c816 100644 --- a/lib/util.php +++ b/lib/util.php @@ -656,6 +656,12 @@ function common_fancy_url($action, $args=NULL) { case 'subscribe': case 'unsubscribe': return common_path('main/'.$action); + case 'remotesubscribe': + if ($args && $args['nickname']) { + return common_path('main/remote?nickname=' . $args['nickname']); + } else { + return common_path('main/remote'); + } case 'openidlogin': return common_path('main/openid'); case 'avatar': |