diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-07-30 22:42:43 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-08-01 14:59:08 +0200 |
commit | e13f381189788c74fe08a3f3336d961977ff9dc4 (patch) | |
tree | 19b81673f6804e718534e4c6a286c94e0a2743b8 /lib/public/db.php | |
parent | 795e78809f55be762fb07d9a179bbdffa7aefbd9 (diff) | |
download | nextcloud-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.php | 4 |
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)); } |