"removed double include of mounted dirs in egw_vfs::find"

This commit is contained in:
Ralf Becker 2008-03-14 15:37:33 +00:00
parent 68dfe96fed
commit 3f5c03f91a

View File

@ -314,18 +314,6 @@ class egw_vfs extends vfs_stream_wrapper
{ {
$base = array($base); $base = array($base);
} }
foreach($base as $path)
{
// check our fstab if we need to add some of the mountpoints
$basepath = parse_url($path,PHP_URL_PATH);
foreach(self::$fstab as $mounted => $src_url)
{
if (dirname($mounted) == $basepath)
{
$base[] = $mounted;
}
}
}
$result = array(); $result = array();
foreach($base as $path) foreach($base as $path)
{ {