[dev] double return in ingo/lib/Storage.php

Ben Chavet ben at horde.org
Tue Jan 31 19:56:20 PST 2006


Quoting Matt Selsky <selsky at columbia.edu>:

> http://cvs.horde.org/annotate.php/ingo/lib/Storage.php?rev=1.63#l579
>
>  function getWhitelist()
>  {
>      return $this->_addr;
>      return array_filter($this->_addr, array('Ingo', '_filterEmptyAddress'));
>  }
>
>
> Should the second return be removed?

I'd say the first return should be removed.

--Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/dev/attachments/20060131/e4be4081/attachment.bin


More information about the dev mailing list