summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/service/files.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/application/service/files.php b/application/service/files.php
index 59a096d1b..802ba70af 100644
--- a/application/service/files.php
+++ b/application/service/files.php
@@ -153,7 +153,7 @@ class files {
foreach ($ids as $id) {
$total_count++;
- $next = false;
+ $nextID = false;
foreach (array($CI->mfile, $CI->mmultipaste) as $model) {
if ($model->id_exists($id)) {
@@ -162,6 +162,7 @@ class files {
"id" => $id,
"reason" => "wrong owner",
);
+ $nextID = true;
continue;
}
if ($model->delete_id($id)) {
@@ -169,7 +170,7 @@ class files {
"id" => $id,
);
$deleted_count++;
- $next = true;
+ $nextID = true;
} else {
$errors[$id] = array(
"id" => $id,
@@ -179,7 +180,7 @@ class files {
}
}
- if ($next) {
+ if ($nextID) {
continue;
}