ZF-11395: Useless code included in Zend_Controller_Router_Route_Hostname class

Issue Type: Bug Created: 2011-05-21T20:37:00.000+0000 Last Updated: 2011-05-30T16:40:17.000+0000 Status: Resolved Fix version(s): - 1.11.7 (02/Jun/11)

Reporter: Cristian Bichis (avantis) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Controller

  • Zend_Controller_Router

Related issues: Attachments:



On Zend_Controller_Router_Route_Hostname class i noticed one useless code, i guess is from an older version.

Line 305: $hostname = implode('.', $host);

$hostname is not used anywhere else so this line should be removed


Posted by Adam Lundrigan (adamlundrigan) on 2011-05-30T16:36:09.000+0000

Fixed in trunk r24086

Posted by Adam Lundrigan (adamlundrigan) on 2011-05-30T16:39:31.000+0000

Merged to release-1.11 in r24087

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.