mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
changes to templates
This commit is contained in:
@@ -310,8 +310,9 @@ var winston = require('winston'),
|
||||
if(err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
if (pids.length === 0) {
|
||||
return callback(new Error('no-undeleted-pids-found'));
|
||||
return callback(null, null);
|
||||
}
|
||||
|
||||
async.detectSeries(pids, function(pid, next) {
|
||||
@@ -322,7 +323,7 @@ var winston = require('winston'),
|
||||
if (pid) {
|
||||
callback(null, pid);
|
||||
} else {
|
||||
callback(new Error('no-undeleted-pids-found'));
|
||||
callback(null, null);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user