fix error in moveFile()

This commit is contained in:
Uwe Steinmann 2021-10-04 20:23:17 +02:00
parent 9c5e5905c9
commit 357c0c1bac

View File

@ -58,10 +58,10 @@ class SeedDMS_Core_File {
*/ */
static function moveFile($source, $target) { /* {{{ */ static function moveFile($source, $target) { /* {{{ */
/** @noinspection PhpUndefinedFunctionInspection */ /** @noinspection PhpUndefinedFunctionInspection */
if (!@copyFile($source, $target)) if (!self::copyFile($source, $target))
return false; return false;
/** @noinspection PhpUndefinedFunctionInspection */ /** @noinspection PhpUndefinedFunctionInspection */
return @removeFile($source); return self::removeFile($source);
} /* }}} */ } /* }}} */
/** /**