serveit-ca / curastreamPlugin

Curastream
https://www.curastream.com
0 stars 0 forks source link

Add Functionality When User Deletes Program #52

Closed SideonDeaka closed 5 years ago

SideonDeaka commented 5 years ago

@serveit-ca We need to add functionality for when a user deletes a program. A function "recordUserDeletion($userId, $programId)" has been created, this function checks to see if that program exists for that user in the cura_user_programs table, and if so ads a row to the cura_deleted table, which also needs created on staging and production table structure as follows:

id int(11) PRIMARY KEY AUTO_INCREMENT; user_id int(11); program_id int(11); **OPTIONAL Deleted on timestamp column.

SideonDeaka commented 5 years ago

Plugin Development - Add Functionality When User Deletes Program

SideonDeaka commented 5 years ago

Issue Closed on Program Management Branch as of end-of-day commit.