Commit b769effe authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Only commit non-commited rules

parent 855566ae
......@@ -57,7 +57,7 @@ interface DnsRuleDao {
@Query("DELETE FROM DnsRule WHERE stagingType=2")
fun deleteStagedRules()
@Query("UPDATE OR IGNORE DnsRule SET stagingType=0")
@Query("UPDATE OR IGNORE DnsRule SET stagingType=0 WHERE stagingType!=0")
fun commitStaging()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment