don't bother listing upload dirs without files
This commit is contained in:
parent
cf698d6712
commit
f735936a7d
@ -82,7 +82,9 @@ class BulkAdd implements Extension {
|
|||||||
}
|
}
|
||||||
closedir($dir);
|
closedir($dir);
|
||||||
|
|
||||||
$this->theme->add_status("Adding $subdir", $list);
|
if(strlen($list) > 0) {
|
||||||
|
$this->theme->add_status("Adding $subdir", $list);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_event_listener(new BulkAdd());
|
add_event_listener(new BulkAdd());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user