public function removeModelPath($directory)
    {
        if (($key = array_search($directory, $this->modelPaths)) !== false) 
        {
            unset($this->modelPaths[$key]);
        }
    }
public function removeModelPath($directory)
    {
        if (($key = array_search($directory, $this->modelPaths)) !== false) 
        {
            unset($this->modelPaths[$key]);
        }
    }
public function removeModelPath ( $ directory ) { if ( ( $ key = array_search ( $ directory , $ this -> modelPaths ) ) !== false ) { unset ( $ this -> modelPaths [ $ key ] ) ; } }
Remove a path where models can be found

@param string $directory The directory
@return void
Remove a path where models can be found