Skip to content

Commit

Permalink
filter is_deleted files for proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Jan 3, 2017
1 parent 5f88a3d commit 1eb2ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/admin/src/proxy/ClientTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1eb2ff2

Please sign in to comment.