Apparently the beforeDelete() method was actually part of Ardent. Whoops. So that's probably not doing much of anything anymore. Need to replace that with something that is maybe a bit more functional. Should also take into consideration the possibility of soft deleting models (in which case, we don't want to delete the relationships).
Apparently the
beforeDelete()
method was actually part of Ardent. Whoops. So that's probably not doing much of anything anymore. Need to replace that with something that is maybe a bit more functional. Should also take into consideration the possibility of soft deleting models (in which case, we don't want to delete the relationships).