From db9d7f2ff4154332d277be90e47cee678af7e372 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Tue, 28 Feb 2006 23:42:39 +0100
Subject: [PATCH] fixed problem with io_sweepNS() on windows systems

darcs-hash:20060228224239-7ad00-74183c4f12a176a1c7712fac6278ca5d4ff9b705.gz
---
 inc/io.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/inc/io.php b/inc/io.php
index bf8bc903c..47f2e1149 100644
--- a/inc/io.php
+++ b/inc/io.php
@@ -21,8 +21,7 @@ function io_sweepNS($id){
 
   //scan all namespaces
   while(($id = getNS($id)) !== false){
-    $dir = $conf['datadir'].'/'.str_replace(':','/',$id);
-    $dir = utf8_encodeFN($dir);
+    $dir = $conf['datadir'].'/'.utf8_encodeFN(str_replace(':','/',$id));
 
     //try to delete dir else return
     if(!@rmdir($dir)) return;
-- 
GitLab