Refactored some utils

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2018-11-03 16:28:25 +01:00
parent a4dc3deb36
commit 0f96713fe7
4 changed files with 35 additions and 42 deletions

View File

@ -75,7 +75,7 @@ function download_users_emails($storage) {
$folders = new RecursiveIteratorIterator($storage->getFolders(), RecursiveIteratorIterator::SELF_FIRST);
foreach ($folders as $localName => $folder) {
foreach ($folders as $folder) {
$__folder = preg_replace("/\W/", "_", $folder);
@ -131,5 +131,3 @@ function usage() {
exit;
}