fixed bug [ 1001387 ] Error Emailing Attachments - missing closedir prefents rmdir on win

This commit is contained in:
Ralf Becker 2004-08-03 14:13:37 +00:00
parent 3cf3d8617d
commit d847c0e125

View File

@ -38,6 +38,7 @@
unlink($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid'] . SEP . $file);
}
}
closedir($dh);
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
}
$GLOBALS['phpgw']->hooks->process('logout');