summaryrefslogtreecommitdiffstats
path: root/apps/gallery/appinfo
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-03 13:06:08 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-03 13:06:08 +0200
commit97a8af7f2519e9ba01c2ff0c16a3102f716c0d13 (patch)
tree9f6a83c9da6a18ce0cd14f8513c6f647a8edc956 /apps/gallery/appinfo
parentf85d076a4e1df2de8b7b75e379d52fd71807ae01 (diff)
downloadnextcloud-server-97a8af7f2519e9ba01c2ff0c16a3102f716c0d13.tar.gz
nextcloud-server-97a8af7f2519e9ba01c2ff0c16a3102f716c0d13.zip
ported oc_db
Diffstat (limited to 'apps/gallery/appinfo')
-rwxr-xr-xapps/gallery/appinfo/app.php2
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()){