forked from CIT/Vmeda.Online
		
	MOBILE-2992 forum: Fix can add discussion WS invalidation
This commit is contained in:
		
							parent
							
								
									af28ed2732
								
							
						
					
					
						commit
						b6e15defdd
					
				| @ -58,7 +58,7 @@ export class AddonModForumProvider { | |||||||
|      * @return {string}         Cache key. |      * @return {string}         Cache key. | ||||||
|      */ |      */ | ||||||
|     protected getCanAddDiscussionCacheKey(forumId: number, groupId: number): string { |     protected getCanAddDiscussionCacheKey(forumId: number, groupId: number): string { | ||||||
|         return this.getCommonCanAddDiscussionCacheKey(forumId) + ':' + groupId; |         return this.getCommonCanAddDiscussionCacheKey(forumId) + groupId; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
| @ -68,7 +68,7 @@ export class AddonModForumProvider { | |||||||
|      * @return {string}         Cache key. |      * @return {string}         Cache key. | ||||||
|      */ |      */ | ||||||
|     protected getCommonCanAddDiscussionCacheKey(forumId: number): string { |     protected getCommonCanAddDiscussionCacheKey(forumId: number): string { | ||||||
|         return this.ROOT_CACHE_KEY + 'canadddiscussion:' + forumId; |         return this.ROOT_CACHE_KEY + 'canadddiscussion:' + forumId + ':'; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user