Shout: WS tweak: remove trailing spaces
authorBen Klang <ben@alkaloid.net>
Sat, 9 Jan 2010 05:15:41 +0000 (00:15 -0500)
committerBen Klang <ben@alkaloid.net>
Sat, 9 Jan 2010 05:15:41 +0000 (00:15 -0500)
shout/ajax.php
shout/lib/Driver/Ldap.php

index c38a29a..560d0bc 100644 (file)
@@ -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':
index 76323aa..d0d3270 100644 (file)
@@ -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 <type> $context
-     * @param <type> $extension 
+     * @param <type> $extension
      */
     protected function _getExtensionDn($context, $extension)
     {