mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
fix error in moveFile()
This commit is contained in:
parent
9c5e5905c9
commit
357c0c1bac
|
@ -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);
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user