I have XMPP provisioning turned off - not all of our Drupal users are XMPP users - and noticed that when I delete Drupal users, XMPP User module generates a watchdog error.
Failed to delete <em>user</em> account from server
At first I thought XMPP User was actually trying to delete the Drupal users from the XMPP server, but a quick look at the OpenFire logs assured me this wasn't true, but what is happening is that XMPP User checks to see if provisioning is set up, but doesn't stop from trying to delete the XMPP user if it isn't, triggering the false errors.
I'd rather not see log entries for non-events. The attached patch moves the aspects of deleting users that rely on XMPP provisioning into the conditional statement that checks that XMPP provisioning is turned on.
| Comment | File | Size | Author |
|---|---|---|---|
| xmpp_user.module.patch | 2.08 KB | calebtr |