From e719f311672c9ccbd3be8c893f450a4a1a91db56 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 17 Nov 2022 11:33:43 +0100 Subject: [PATCH] fix moveDir() which didn't work at all --- SeedDMS_Core/Core/inc.FileUtils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SeedDMS_Core/Core/inc.FileUtils.php b/SeedDMS_Core/Core/inc.FileUtils.php index a1b8102c5..43289fce8 100644 --- a/SeedDMS_Core/Core/inc.FileUtils.php +++ b/SeedDMS_Core/Core/inc.FileUtils.php @@ -496,10 +496,10 @@ class SeedDMS_Core_File { */ static function moveDir($sourcePath, $targetPath) { /* {{{ */ /** @noinspection PhpUndefinedFunctionInspection */ - if (!copyDir($sourcePath, $targetPath)) + if (!self::copyDir($sourcePath, $targetPath)) return false; /** @noinspection PhpUndefinedFunctionInspection */ - return removeDir($sourcePath); + return self::removeDir($sourcePath); } /* }}} */ // code by Kioob (php.net manual)