aboutsummaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-02 11:14:11 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-02 11:14:11 +0200
commitd71600213a71be5710d47add24d57250e6427865 (patch)
tree56b8ead17bee9e392ed98ee830cc3b4ba53ce564 /lib/app.php
parentc9eaffd3363f06137fb197138d0b197679085537 (diff)
downloadnextcloud-server-d71600213a71be5710d47add24d57250e6427865.tar.gz
nextcloud-server-d71600213a71be5710d47add24d57250e6427865.zip
files is not internal any more
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/app.php b/lib/app.php
index 034403d1d5a..3194802eae4 100644
--- a/lib/app.php
+++ b/lib/app.php
@@ -55,7 +55,7 @@ class OC_App{
}
// Our very own core apps are hardcoded
- foreach( array( 'files', 'settings') as $app ){
+ foreach( array( 'settings') as $app ){
if(is_null($types)){
require( $app.'/appinfo/app.php' );
}
@@ -94,7 +94,7 @@ class OC_App{
}
return false;
}
-
+
/**
* get the types of an app
* @param string $app
@@ -105,7 +105,7 @@ class OC_App{
if(count(self::$appTypes)==0){
self::$appTypes=OC_Appconfig::getValues(false,'types');
}
-
+
//get it from info.xml if we haven't cached it
if(!isset(self::$appTypes[$app])){
$appData=self::getAppInfo($app);
@@ -114,10 +114,10 @@ class OC_App{
}else{
self::$appTypes[$app]=array();
}
-
+
OC_Appconfig::setValue($app,'types',implode(',',self::$appTypes[$app]));
}
-
+
return explode(',',self::$appTypes[$app]);
}
@@ -328,7 +328,7 @@ class OC_App{
return $list;
}
-
+
/**
* get the last version of the app, either from appinfo/version or from appinfo/info.xml
*/