Shorten.
authorGunnar Wrobel <p@rdus.de>
Mon, 22 Mar 2010 16:39:24 +0000 (17:39 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Tue, 23 Mar 2010 06:53:32 +0000 (07:53 +0100)
framework/Kolab_Storage/lib/Horde/Kolab/Storage/Namespace.php

index a5ef5ca..563ce3e 100644 (file)
@@ -121,9 +121,7 @@ abstract class Horde_Kolab_Storage_Namespace
      */
     public function getTitle($name)
     {
-        $namespace = $this->matchNamespace($name);
-        $path = $this->_subpath($name, $namespace);
-        return join($path, ':');
+        return join($this->_subpath($name, $this->matchNamespace($name)), ':');
     }
 
     /**