From 8ef29b70d1a4dd57a778ab232a91793dcbaea4e4 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 2 Mar 2014 22:53:48 +0100 Subject: [PATCH] GNU social naming, not StatusNet --- plugins/SubMirror/actions/mirrorsettings.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugins/SubMirror/actions/mirrorsettings.php b/plugins/SubMirror/actions/mirrorsettings.php index b8e23ca561..b5a49fe4fa 100644 --- a/plugins/SubMirror/actions/mirrorsettings.php +++ b/plugins/SubMirror/actions/mirrorsettings.php @@ -25,9 +25,7 @@ * @link http://status.net/ */ -if (!defined('STATUSNET') && !defined('LACONICA')) { - exit(1); -} +if (!defined('GNUSOCIAL') && !defined('STATUSNET')) { exit(1); } class MirrorSettingsAction extends SettingsAction { @@ -52,7 +50,7 @@ class MirrorSettingsAction extends SettingsAction { // TRANS: Page instructions. return _m('You can mirror updates from many RSS and Atom feeds ' . - 'into your StatusNet timeline!'); + 'into your GNU social timeline!'); } /** @@ -103,9 +101,6 @@ class MirrorSettingsAction extends SettingsAction switch ($this->arg('provider')) { case 'statusnet': break; - case 'twitter': - $form = new AddTwitterMirrorForm($this); - break; case 'wordpress': break; case 'linkedin': -- 2.39.5