mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
fix moveDir() which didn't work at all
This commit is contained in:
parent
09f6dc64a6
commit
e719f31167
|
@ -496,10 +496,10 @@ class SeedDMS_Core_File {
|
||||||
*/
|
*/
|
||||||
static function moveDir($sourcePath, $targetPath) { /* {{{ */
|
static function moveDir($sourcePath, $targetPath) { /* {{{ */
|
||||||
/** @noinspection PhpUndefinedFunctionInspection */
|
/** @noinspection PhpUndefinedFunctionInspection */
|
||||||
if (!copyDir($sourcePath, $targetPath))
|
if (!self::copyDir($sourcePath, $targetPath))
|
||||||
return false;
|
return false;
|
||||||
/** @noinspection PhpUndefinedFunctionInspection */
|
/** @noinspection PhpUndefinedFunctionInspection */
|
||||||
return removeDir($sourcePath);
|
return self::removeDir($sourcePath);
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
// code by Kioob (php.net manual)
|
// code by Kioob (php.net manual)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user