Jump on Skype, I'm just driving back to the office will be there in 5

Sent from my iPhone
Please excuse my brevity

On 06/03/2013, at 1:32 PM, Taylor Otwell <notifications@github.com> wrote:

> In src/Illuminate/View/FileViewFinder.php:
> 
> > @@ -176,7 +176,15 @@ public function addNamespace($namespace, $hints)
> >  	 */
> >  	public function addExtension($extension)
> >  	{
> > -		$this->extensions[] = $extension;
> > +		// We will remove the existing extension from our extensions
> > +		// if it exists. This will ensure the newly registered extension
> > +		// is prepended as expected.
> > +		if (($index = array_search($extension, $this->extensions)) !== false)
> > +		{
> > +			unset($this->extensions[$index]);
> > +		}
> Do you think this is necessary? It seems like the newly added extension should only be in the list once anyways?
> 
> —
> Reply to this email directly or view it on GitHub.