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) { /* {{{ */
/** @noinspection PhpUndefinedFunctionInspection */
if (!@copyFile($source, $target))
if (!self::copyFile($source, $target))
return false;
/** @noinspection PhpUndefinedFunctionInspection */
return @removeFile($source);
return self::removeFile($source);
} /* }}} */
/**