From a6469aeed88a400d5d38d75a210417de4af4eea7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 25 Sep 2010 12:10:36 -0700 Subject: Fix PHP syntax errors introduced during localization fixups in a few files. --- plugins/CasAuthentication/CasAuthenticationPlugin.php | 6 +++--- plugins/Imap/ImapPlugin.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') 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.")); -- cgit v1.2.3-54-g00ecf