From 1eb2ff2d634e4d73349e9f166a079b12d3b5b3fb Mon Sep 17 00:00:00 2001 From: Basil Suter Date: Tue, 3 Jan 2017 12:45:34 +0100 Subject: [PATCH] filter is_deleted files for proxy --- modules/admin/src/proxy/ClientTransfer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/admin/src/proxy/ClientTransfer.php b/modules/admin/src/proxy/ClientTransfer.php index 46fc8a927..ee7a50331 100644 --- a/modules/admin/src/proxy/ClientTransfer.php +++ b/modules/admin/src/proxy/ClientTransfer.php @@ -38,7 +38,7 @@ public function start() // sync files - foreach ((new Query())->all() as $file) { + foreach ((new Query())->where(['is_deleted' => 0])->all() as $file) { /* @var $file \luya\admin\file\Item */ if (!$file->fileExists) { $curl = new Curl();