Skip to content

Node.js based forum software built for the modern web

remove unnecessary code

Barış Soner Uşaklı75e2ab895796
diff --git a/src/image.js b/src/image.js
index 0269a4c226..f99a73e3bc 100644
--- a/src/image.js
+++ b/src/image.js
@@ -78,9 +78,6 @@ image.resizeImage = function (data, callback) {
if (data.quality) {
image.quality(data.quality);
}
- next(null, image);
- },
- function (image, next) {
image.write(data.target || data.path, next);
},
], function (err) {