mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs()
This commit is contained in:
parent
99824b5510
commit
fefc2b5f88
@ -150,7 +150,7 @@ class Utils extends StreamWrapper
|
||||
);
|
||||
$stmt = $delete_stmt = null;
|
||||
$msgs = array();
|
||||
$sqlfs = Vfs\Sqlfs();
|
||||
$sqlfs = new StreamWrapper();
|
||||
foreach($dirs as $path => $id)
|
||||
{
|
||||
if (!($stat = $sqlfs->url_stat($path, STREAM_URL_STAT_LINK)))
|
||||
@ -309,7 +309,7 @@ class Utils extends StreamWrapper
|
||||
{
|
||||
$lostnfound = null;
|
||||
$msgs = array();
|
||||
$sqlfs = Vfs\Sqlfs();
|
||||
$sqlfs = new StreamWrapper();
|
||||
foreach(self::$pdo->query('SELECT fs.* FROM '.self::TABLE.' fs'.
|
||||
' LEFT JOIN '.self::TABLE.' dir ON dir.fs_id=fs.fs_dir'.
|
||||
' WHERE fs.fs_id > 1 AND dir.fs_id IS NULL') as $row)
|
||||
|
Loading…
Reference in New Issue
Block a user