diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-19 15:17:36 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-19 15:17:36 +0200 |
commit | 5a6f6162061985c9d0e67b7d25b94b5a53205ace (patch) | |
tree | 6a46269e8b1e5246f8fe055a0540a54f716d9a05 /plugins/OStatus/actions/userxrd.php | |
parent | 07cd52afc7eef0111c9f7bd49a52a51214520287 (diff) |
* i18n/L10n update
* translator comments added
* remove superfluous whitespace
Diffstat (limited to 'plugins/OStatus/actions/userxrd.php')
-rw-r--r-- | plugins/OStatus/actions/userxrd.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/OStatus/actions/userxrd.php b/plugins/OStatus/actions/userxrd.php index dd720568b..9aa7c0306 100644 --- a/plugins/OStatus/actions/userxrd.php +++ b/plugins/OStatus/actions/userxrd.php @@ -17,16 +17,14 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +if (!defined('STATUSNET')) { exit(1); } + /** * @package OStatusPlugin * @maintainer James Walker <james@status.net> */ - -if (!defined('STATUSNET')) { exit(1); } - class UserxrdAction extends XrdAction { - function prepare($args) { parent::prepare($args); @@ -46,7 +44,7 @@ class UserxrdAction extends XrdAction $this->user = User::staticGet('uri', $this->uri); } if (!$this->user) { - $this->clientError(_('No such user.'), 404); + $this->clientError(_m('No such user.'), 404); return false; } |