mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: remove sync hooks support
This commit is contained in:
@@ -137,10 +137,6 @@ async function fireFilterHook(hook, hookList, params) {
|
||||
payload => resolve(payload),
|
||||
err => reject(err)
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (returned) {
|
||||
resolve(returned);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user