mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fixed bug [ 1001387 ] Error Emailing Attachments - missing closedir prefents rmdir on win
This commit is contained in:
parent
3cf3d8617d
commit
d847c0e125
@ -38,6 +38,7 @@
|
|||||||
unlink($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid'] . SEP . $file);
|
unlink($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid'] . SEP . $file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
closedir($dh);
|
||||||
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
|
rmdir($GLOBALS['phpgw_info']['server']['temp_dir'] . SEP . $GLOBALS['sessionid']);
|
||||||
}
|
}
|
||||||
$GLOBALS['phpgw']->hooks->process('logout');
|
$GLOBALS['phpgw']->hooks->process('logout');
|
||||||
|
Loading…
Reference in New Issue
Block a user