mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Fixes #144: Add CC 4.0 to license options
This commit is contained in:
		
							parent
							
								
									74f9775771
								
							
						
					
					
						commit
						8f6a201d35
					
				
					 7 changed files with 36 additions and 15 deletions
				
			
		|  | @ -369,7 +369,7 @@ public class Contribution extends Media { | |||
|                 db.execSQL("ALTER TABLE " + TABLE_NAME + " ADD COLUMN height INTEGER;"); | ||||
|                 db.execSQL("UPDATE " + TABLE_NAME + " SET height = 0"); | ||||
|                 db.execSQL("ALTER TABLE " + TABLE_NAME + " ADD COLUMN license STRING;"); | ||||
|                 db.execSQL("UPDATE " + TABLE_NAME + " SET license='" + Prefs.Licenses.CC_BY_SA + "';"); | ||||
|                 db.execSQL("UPDATE " + TABLE_NAME + " SET license='" + Prefs.Licenses.CC_BY_SA_3 + "';"); | ||||
|                 from++; | ||||
|                 onUpdate(db, from, to); | ||||
|                 return; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 maskara
						maskara