From: Ben Klang Date: Sat, 9 Jan 2010 05:15:41 +0000 (-0500) Subject: Shout: WS tweak: remove trailing spaces X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7dfc55324ea1ba822c8ae69c591f21442bdb237c;p=horde.git Shout: WS tweak: remove trailing spaces --- diff --git a/shout/ajax.php b/shout/ajax.php index c38a29a77..560d0bc8d 100644 --- a/shout/ajax.php +++ b/shout/ajax.php @@ -60,7 +60,7 @@ case 'addDestination': Horde::logMessage($e->getMessage(), __FILE__, __LINE__, PEAR_LOG_ERR); //FIXME: Create a way to notify the user of the failure. } - + break; case 'deleteDestination': diff --git a/shout/lib/Driver/Ldap.php b/shout/lib/Driver/Ldap.php index 76323aa51..d0d3270aa 100644 --- a/shout/lib/Driver/Ldap.php +++ b/shout/lib/Driver/Ldap.php @@ -229,7 +229,7 @@ class Shout_Driver_Ldap extends Shout_Driver { $dn = $this->_getExtensionDn($context, $extension); $attr = $this->_getDestAttr($type, $destination); - + $res = ldap_mod_del($this->_LDAP, $dn, $attr); if ($res === false) { $msg = sprintf('Error while modifying the LDAP entry. Code %s; Message "%s"', @@ -381,14 +381,14 @@ class Shout_Driver_Ldap extends Shout_Driver Horde::logMessage($msg, __FILE__, __LINE__, PEAR_LOG_ERR); throw new Horde_Exception(_("Error while deleting from the directory. Details have been logged for the administrator.")); } - + return true; } /** * * @param $context - * @param $extension + * @param $extension */ protected function _getExtensionDn($context, $extension) {