From fefc2b5f8877ddda7511cf3609a8f07556459ee1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Jul 2016 18:34:56 +0200 Subject: [PATCH] fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs() --- api/src/Vfs/Sqlfs/Utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/Vfs/Sqlfs/Utils.php b/api/src/Vfs/Sqlfs/Utils.php index f303328032..16dee0d856 100644 --- a/api/src/Vfs/Sqlfs/Utils.php +++ b/api/src/Vfs/Sqlfs/Utils.php @@ -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)