Skip to content

Commit

Permalink
Fixed bug where plugin uninstall job was attempting to persist a a mo…
Browse files Browse the repository at this point in the history
…ngo op result and the BSON native function was losing its mind
  • Loading branch information
brianhyder committed May 30, 2015
1 parent 39e6f68 commit 7089504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/service/jobs/plugins/plugin_uninstall_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports = function PluginUninstallJobModule(pb) {
self.log('Attemping to remove plugin settings');

pb.plugins.pluginSettingsService.purge(pluginUid, function (err, result) {
callback(err, !util.isError(err) && result);
callback(err, !util.isError(err));
});
},

Expand All @@ -158,7 +158,7 @@ module.exports = function PluginUninstallJobModule(pb) {
self.log('Attemping to remove theme settings');

pb.plugins.themeSettingsService.purge(pluginUid, function (err, result) {
callback(err, !util.isError(err) && result);
callback(err, !util.isError(err));
});
},

Expand Down

0 comments on commit 7089504

Please sign in to comment.