diff --git a/libs/database/src/main/java/org/fdroid/database/RepositoryDao.kt b/libs/database/src/main/java/org/fdroid/database/RepositoryDao.kt index ec5155b5d..022b50510 100644 --- a/libs/database/src/main/java/org/fdroid/database/RepositoryDao.kt +++ b/libs/database/src/main/java/org/fdroid/database/RepositoryDao.kt @@ -33,18 +33,6 @@ public interface RepositoryDao { */ public fun insert(newRepository: NewRepository): Long - /** - * Inserts an empty [Repository] for an initial update. - * - * @return the [Repository.repoId] of the inserted repo. - */ - @Deprecated("Use insert instead") - public fun insertEmptyRepo( - address: String, - username: String? = null, - password: String? = null, - ): Long - /** * Returns the repository with the given [repoId] or null, if none was found with that ID. */ @@ -177,10 +165,10 @@ internal interface RepositoryDaoInt : RepositoryDao { @Transaction @Deprecated("Use insert instead") - override fun insertEmptyRepo( + fun insertEmptyRepo( address: String, - username: String?, - password: String?, + username: String? = null, + password: String? = null, ): Long { val repo = CoreRepository( name = mapOf("en-US" to address),