prevent sql error while initializing apps on sqlite2

This commit is contained in:
Robin Appelman 2011-10-20 01:16:48 +02:00
parent 7e34452746
commit 273972b75a
1 changed files with 1 additions and 1 deletions

View File

@ -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();