owncloud/core — pull request #3076 by tanghus (2013-04-22 19:18:22+00:00)
Title: Backport #2567 OC_DB:insertIfNotExist()

Did a PR because I had to backport manually
@LukasReschke @bartv2