prevent sql error while initializing apps on sqlite2
This commit is contained in:
parent
7e34452746
commit
273972b75a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue