summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-25 12:10:36 -0700
committerBrion Vibber <brion@pobox.com>2010-09-25 12:10:36 -0700
commita6469aeed88a400d5d38d75a210417de4af4eea7 (patch)
tree2683ddd14649e9c52d8bdfe8d9ed0f7e37cb7b2a
parent0dc5080a5d71444ad6dab3d3eb8aa30b16d201a1 (diff)
Fix PHP syntax errors introduced during localization fixups in a few files.
-rw-r--r--actions/groupmembers.php2
-rw-r--r--plugins/CasAuthentication/CasAuthenticationPlugin.php6
-rw-r--r--plugins/Imap/ImapPlugin.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/actions/groupmembers.php b/actions/groupmembers.php
index 038d1db68..d03d0b5a3 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -400,7 +400,7 @@ class GroupBlockForm extends Form
'submit',
null,
// TRANS: Submit button title.
- _m('TOOLTIP',_('Block this user'));
+ _m('TOOLTIP', 'Block this user'));
}
}
diff --git a/plugins/CasAuthentication/CasAuthenticationPlugin.php b/plugins/CasAuthentication/CasAuthenticationPlugin.php
index 6b751a0aa..71e54d41f 100644
--- a/plugins/CasAuthentication/CasAuthenticationPlugin.php
+++ b/plugins/CasAuthentication/CasAuthenticationPlugin.php
@@ -125,13 +125,13 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
function onInitializePlugin(){
parent::onInitializePlugin();
if(!isset($this->server)){
- throw new Exception(_m("Specifying a server is required.");
+ throw new Exception(_m("Specifying a server is required."));
}
if(!isset($this->port)){
- throw new Exception(_m("Specifying a port is required.");
+ throw new Exception(_m("Specifying a port is required."));
}
if(!isset($this->path)){
- throw new Exception(_m("Specifying a path is required.");
+ throw new Exception(_m("Specifying a path is required."));
}
//These values need to be accessible to a action object
//I can't think of any other way than global variables
diff --git a/plugins/Imap/ImapPlugin.php b/plugins/Imap/ImapPlugin.php
index 1661ed86e..8d8dbf223 100644
--- a/plugins/Imap/ImapPlugin.php
+++ b/plugins/Imap/ImapPlugin.php
@@ -54,7 +54,7 @@ class ImapPlugin extends Plugin
throw new Exception(_m("A mailbox must be specified."));
}
if(!isset($this->user)){
- throw new Exception(_m("A user must be specified.");
+ throw new Exception(_m("A user must be specified."));
}
if(!isset($this->password)){
throw new Exception(_m("A password must be specified."));