summaryrefslogtreecommitdiffstats
path: root/lib/appconfig.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-20 01:16:48 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-20 01:17:02 +0200
commit273972b75af17b228a57c7cf8258ea31f2e2e3bc (patch)
tree181921cdd28daf25fba904ea60c82696d720b0e7 /lib/appconfig.php
parent7e344527461194cc2cee9085648bfbd450ef1f7f (diff)
downloadnextcloud-server-273972b75af17b228a57c7cf8258ea31f2e2e3bc.tar.gz
nextcloud-server-273972b75af17b228a57c7cf8258ea31f2e2e3bc.zip
prevent sql error while initializing apps on sqlite2
Diffstat (limited to 'lib/appconfig.php')
-rw-r--r--lib/appconfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/appconfig.php b/lib/appconfig.php
index f43ef141732..2b5cef59adc 100644
--- a/lib/appconfig.php
+++ b/lib/appconfig.php
@@ -47,7 +47,7 @@ class OC_Appconfig{
*/
public static function getApps(){
// No magic in here!
- $query = OC_DB::prepare( 'SELECT DISTINCT( appid ) FROM *PREFIX*appconfig' );
+ $query = OC_DB::prepare( 'SELECT DISTINCT appid FROM *PREFIX*appconfig' );
$result = $query->execute();
$apps = array();