fix SQL error when migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)

This commit is contained in:
Ralf Becker 2017-06-21 09:01:22 +02:00
parent 7af5c268a9
commit f7a9c253a9

View File

@ -7,8 +7,7 @@
* @package api * @package api
* @subpackage vfs * @subpackage vfs
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> * @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2008-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de> * @copyright (c) 2008-17 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @version $Id$
*/ */
namespace EGroupware\Api\Vfs\Sqlfs; namespace EGroupware\Api\Vfs\Sqlfs;
@ -32,7 +31,6 @@ class Utils extends StreamWrapper
{ {
self::_pdo(); self::_pdo();
} }
$query = 'SELECT fs_id,fs_name,fs_size,fs_content'.
$query = 'SELECT fs_id,fs_name,fs_size,fs_content'. $query = 'SELECT fs_id,fs_name,fs_size,fs_content'.
' FROM '.self::TABLE.' WHERE fs_content IS NOT NULL'. ' FROM '.self::TABLE.' WHERE fs_content IS NOT NULL'.
' ORDER BY fs_id LIMIT 5 OFFSET :offset'; ' ORDER BY fs_id LIMIT 5 OFFSET :offset';