mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:41 +01:00
fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs()
This commit is contained in:
parent
eca0db5e6f
commit
67720e760f
@ -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