fix moveDir() which didn't work at all

This commit is contained in:
Uwe Steinmann 2022-11-17 11:33:43 +01:00
parent 09f6dc64a6
commit e719f31167

View File

@ -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)