commit | c652a5d919a86d3b664c815ee7f05e463751e082 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sun Mar 23 14:01:08 2014 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sun Mar 23 14:05:49 2014 +0100 |
tree | ffe29fa00874ddb3aade11d773c49b8ea35f32e3 | |
parent | fba03165a288cb0b032c19fe716d79769acbf253 [diff] |
nitb/ctrl: Implement creating and deleting subscribers Sadly there is no proper foreign key relationship on the tables that related to the Subscriber. This means we can't use a DELETE with Cascade and need to delete everything by hand. To make things worse maybe the SMS/Paging code is still using the subscriber making the operation more dangerous. I had added NULL checks for sender_id/receiver_id at 30C3 so we should not crash in this situation. Fixes: SYS#274