MOBILE-2178 database: Do not allow to edit a deleted offline entry
MOBILE-2178 database: Do not allow to edit a deleted offline entry

sulzer/moodlemobile2,sulzer/moodlemobile2,sulzer/moodlemobile2,knurmi/MoodleTest,arahimahmad/moodlemobile2,bmmg888/moodlemobile2,chester666/moodlemobile,bmmg888/moodlemobile2,arahimahmad/moodlemobile2,arahimahmad/moodlemobile2,knurmi/MoodleTest,chester666/moodlemobile,dpaloucva/moodlemobile2,dpaloucva/moodlemobile2,chester666/moodlemobile,bmmg888/moodlemobile2,bmmg888/moodlemobile2