diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-03 13:06:08 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-03 13:06:08 +0200 |
commit | 97a8af7f2519e9ba01c2ff0c16a3102f716c0d13 (patch) | |
tree | 9f6a83c9da6a18ce0cd14f8513c6f647a8edc956 /apps/gallery/appinfo | |
parent | f85d076a4e1df2de8b7b75e379d52fd71807ae01 (diff) | |
download | nextcloud-server-97a8af7f2519e9ba01c2ff0c16a3102f716c0d13.tar.gz nextcloud-server-97a8af7f2519e9ba01c2ff0c16a3102f716c0d13.zip |
ported oc_db
Diffstat (limited to 'apps/gallery/appinfo')
-rwxr-xr-x | apps/gallery/appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php index e6305a76b75..2501ae7bbd5 100755 --- a/apps/gallery/appinfo/app.php +++ b/apps/gallery/appinfo/app.php @@ -43,7 +43,7 @@ OCP\App::addNavigationEntry( array( class OC_GallerySearchProvider extends OC_Search_Provider{ function search($query){ - $stmt = OC_DB::prepare('SELECT * FROM *PREFIX*gallery_albums WHERE uid_owner = ? AND album_name LIKE ?'); + $stmt = OCP\DB::prepare('SELECT * FROM *PREFIX*gallery_albums WHERE uid_owner = ? AND album_name LIKE ?'); $result = $stmt->execute(array(OCP\USER::getUser(),'%'.$query.'%')); $results=array(); while($row=$result->fetchRow()){ |