summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-10-19 13:20:08 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-10-19 13:20:08 +0200
commit0e4ed2887cb413db0e3eecdb0595a09dc3b01a0f (patch)
treec8d574f55a696cd62906883bca72d3eda55b8111
parent1c9929d44f9d826493de7222ad42ff220cfd0cab (diff)
downloadnextcloud-server-0e4ed2887cb413db0e3eecdb0595a09dc3b01a0f.tar.gz
nextcloud-server-0e4ed2887cb413db0e3eecdb0595a09dc3b01a0f.zip
Return result from OC_DB::insertIfNotExist().
-rw-r--r--lib/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.php b/lib/db.php
index 6ad65201e1c..f32e8549ce9 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -587,7 +587,7 @@ class OC_DB {
}
$result = new PDOStatementWrapper($result);
- $result->execute();
+ return $result->execute();
}
/**