SkyPHP/skyphp — pull request #44 by stanistan (2012-04-16 15:48:29+00:00)
Title: Added loadDB to delete()

In `before_delete` and `after_delete` as well as `$_belongs_to` triggers, we need to have the object's data to use.

During the delete, normally all that is posted is the object identifier and token, these hooks fail because the object does not have the data except for what is posted during this process.

This fixes that issue.