update slack msg
This commit is contained in:
@@ -79,16 +79,8 @@ class HiltesImport
|
||||
*/
|
||||
protected function getFiles(bool $delta = false): bool
|
||||
{
|
||||
$finder = Finder::create();
|
||||
$finder
|
||||
->in($this->currentDirPath . '/hiltes/h2c/')
|
||||
->depth(0);
|
||||
|
||||
if ($delta) {
|
||||
$finder->name('/_D/');
|
||||
} else {
|
||||
$finder->notName('/_D/');
|
||||
}
|
||||
$finder = Finder::create()->in($this->currentDirPath . '/hiltes/h2c/')->depth(0);
|
||||
$delta ? $finder->name('/_D/') : $finder->notName('/_D/');
|
||||
|
||||
if ($finder->hasResults()) {
|
||||
foreach ($finder as $file) {
|
||||
|
||||
Reference in New Issue
Block a user