mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +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) { /* {{{ */
|
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);
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user