owncloud/core — pull request #10113 by scolebrook (2014-08-01 18:06:02+00:00)
Title: Test if delete request orginates in enterprise provisioning api.

Test if delete request orginates in enterprise provisioning api. If so, assume script making the api call is in the act of removing the user from the backend directory and return true so all clean up code is executed and hooks fired.

Deleting a directory user in the users list in the oc web interface will continue to do nothing (return false). This will only affect calls from the provisioning api and allow delete integration in corporate environments.