summaryrefslogtreecommitdiffstats
path: root/lib/public/db.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-07-30 22:42:43 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-08-01 14:59:08 +0200
commite13f381189788c74fe08a3f3336d961977ff9dc4 (patch)
tree19b81673f6804e718534e4c6a286c94e0a2743b8 /lib/public/db.php
parent795e78809f55be762fb07d9a179bbdffa7aefbd9 (diff)
downloadnextcloud-server-e13f381189788c74fe08a3f3336d961977ff9dc4.tar.gz
nextcloud-server-e13f381189788c74fe08a3f3336d961977ff9dc4.zip
add limit support to OC_DB & OCP/DB
Diffstat (limited to 'lib/public/db.php')
-rw-r--r--lib/public/db.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/db.php b/lib/public/db.php
index af2e46c9da2..39df58bf8cf 100644
--- a/lib/public/db.php
+++ b/lib/public/db.php
@@ -43,8 +43,8 @@ class DB {
*
* SQL query via MDB2 prepare(), needs to be execute()'d!
*/
- static public function prepare( $query ){
- return(\OC_DB::prepare($query));
+ static public function prepare( $query, $limit=null, $offset=null ){
+ return(\OC_DB::prepare($query,$limit,$offset));
}