mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
@@ -620,8 +620,6 @@ class eqsl extends CI_Controller {
|
||||
if (file_put_contents($this->Eqsl_images->get_imagePath('p') .'/'. $filename, $content) !== false) {
|
||||
$this->Eqsl_images->save_image($id, $filename);
|
||||
}
|
||||
} else {
|
||||
log_message("Debug","DBL for ".$id." prevented");
|
||||
}
|
||||
}
|
||||
return $error;
|
||||
|
||||
@@ -50,14 +50,14 @@ class Migration_rm_eqsl_dbl extends CI_Migration
|
||||
if (!unlink($target_path . '/' . $res)) {
|
||||
log_message('error', "Mig 186: Dupe file: '" . $target_path . "/" . $res . "' could not be deleted. There is no file with this filename. This shouldn't be a problem.");
|
||||
} else {
|
||||
log_message('debug', "Mig 186: Dupe file: '" . $target_path . "/" . $res . "' were deleted because it was a dupe.");
|
||||
log_message('debug', "Mig 186: Dupe file: '" . $target_path . "/" . $res . "' was deleted because it was a dupe.");
|
||||
}
|
||||
} else {
|
||||
// if 'userdata' is disabled we can use the old paths
|
||||
if (!unlink('images/eqsl_card_images/' . $res)) {
|
||||
log_message('error', "Mig 186: Dupe file: 'images/eqsl_card_images/" . $res . "' could not be deleted. There is no file with this filename. This shouldn't be a problem.");
|
||||
} else {
|
||||
log_message('debug', "Mig 186: Dupe file: 'images/eqsl_card_images/" . $res . "' were deleted because it was a dupe.");
|
||||
log_message('debug', "Mig 186: Dupe file: 'images/eqsl_card_images/" . $res . "' was deleted because it was a dupe.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user