diff --git a/commons/src/main/java/org/wikimedia/commons/category/CategoryContentProvider.java b/commons/src/main/java/org/wikimedia/commons/category/CategoryContentProvider.java index c8dccd062..fa1f86c36 100644 --- a/commons/src/main/java/org/wikimedia/commons/category/CategoryContentProvider.java +++ b/commons/src/main/java/org/wikimedia/commons/category/CategoryContentProvider.java @@ -135,12 +135,6 @@ public class CategoryContentProvider extends ContentProvider { SQLiteDatabase sqlDB = dbOpenHelper.getWritableDatabase(); int rowsUpdated = 0; switch (uriType) { - case CATEGORIES: - rowsUpdated = sqlDB.update(Category.Table.TABLE_NAME, - contentValues, - selection, - selectionArgs); - break; case CATEGORIES_ID: int id = Integer.valueOf(uri.getLastPathSegment());