mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
remove unnecessary code
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user