mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
Vfs::rename() is supposted to be static, quitens warning that it is used static
This commit is contained in:
parent
e82ce99537
commit
4bf26a6c52
@ -2518,7 +2518,7 @@ class Vfs
|
|||||||
* @param string $path_to
|
* @param string $path_to
|
||||||
* @return boolean TRUE on success or FALSE on failure
|
* @return boolean TRUE on success or FALSE on failure
|
||||||
*/
|
*/
|
||||||
function rename ( $path_from, $path_to )
|
static function rename ( $path_from, $path_to )
|
||||||
{
|
{
|
||||||
$vfs = new Vfs\StreamWrapper();
|
$vfs = new Vfs\StreamWrapper();
|
||||||
return $vfs->rename($path_from, $path_to);
|
return $vfs->rename($path_from, $path_to);
|
||||||
|
Loading…
Reference in New Issue
Block a user