forked from extern/egroupware
Sqlfs::mkdir is no longer static, fixing some left over static calls
This commit is contained in:
parent
329a6956fe
commit
a6189bf9b9
@ -727,7 +727,7 @@ class StreamWrapper extends Api\Db\Pdo implements Vfs\StreamWrapperIface
|
||||
if (($options & STREAM_MKDIR_RECURSIVE) && $parent_path != '/' && !$parent)
|
||||
{
|
||||
if (self::LOG_LEVEL > 1) error_log(__METHOD__." creating parents: $parent_path, $mode");
|
||||
if (!self::mkdir($parent_path,$mode,$options))
|
||||
if (!$this->mkdir($parent_path,$mode,$options))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -327,7 +327,7 @@ class Utils extends StreamWrapper
|
||||
if (!($lostnfound = $sqlfs->url_stat(self::LOST_N_FOUND, STREAM_URL_STAT_QUIET)))
|
||||
{
|
||||
Vfs::$is_root = true;
|
||||
if (!self::mkdir(self::LOST_N_FOUND, self::LOST_N_FOUND_MOD, 0) ||
|
||||
if (!$sqlfs->mkdir(self::LOST_N_FOUND, self::LOST_N_FOUND_MOD, 0) ||
|
||||
!(!($admins = $GLOBALS['egw']->accounts->name2id(self::LOST_N_FOUND_GRP)) ||
|
||||
self::chgrp(self::LOST_N_FOUND, $admins) && self::chmod(self::LOST_N_FOUND,self::LOST_N_FOUND_MOD)) ||
|
||||
!($lostnfound = $sqlfs->url_stat(self::LOST_N_FOUND, STREAM_URL_STAT_QUIET)))
|
||||
|
Loading…
Reference in New Issue
Block a user