X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Fnudge.php;h=219a8c9abafb5e7fa24d15e7fd76a57415158766;hb=0b6cc7c33d5239bbc9f01c00d3fb8c00a3d6e4c7;hp=ae9a3750072300c23b8e8e9875b0778d77501bf0;hpb=d35b2d3f3c2128b147a6fa897032262c1f632262;p=quix0rs-gnu-social.git diff --git a/actions/nudge.php b/actions/nudge.php index ae9a375007..219a8c9aba 100644 --- a/actions/nudge.php +++ b/actions/nudge.php @@ -7,8 +7,8 @@ * * @category Action * @package StatusNet - * @author Evan Prodromou - * @author Robin Millette + * @author Evan Prodromou + * @author Robin Millette * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 * @link http://status.net/ * @@ -29,7 +29,7 @@ * along with this program. If not, see . */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -40,9 +40,9 @@ require_once INSTALLDIR.'/lib/mail.php'; * * @category Action * @package StatusNet - * @author Evan Prodromou - * @author Robin Millette - * @author Sarven Capadisli + * @author Evan Prodromou + * @author Robin Millette + * @author Sarven Capadisli * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 * @link http://status.net/ */ @@ -82,7 +82,7 @@ class NudgeAction extends Action } if (!$other->email || !$other->emailnotifynudge) { - $this->clientError(_('This user doesn\'t allow nudges or hasn\'t confirmed or set his email yet.')); + $this->clientError(_('This user doesn\'t allow nudges or hasn\'t confirmed or set their email address yet.')); return; }