Skip to content
Snippets Groups Projects
Commit 67509989 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

files is not internal any more, part II

parent d7160021
Branches
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
$l=OC_L10N::get('files');
OCP\App::register( array( "order" => 2, "id" => "files", "name" => "Files" ));
OCP\App::registerAdmin('files','admin');
OCP\App::addNavigationEntry( array( "id" => "files_index", "order" => 0, "href" => OCP\Util::linkTo( "files", "index.php" ), "icon" => OCP\Util::imagePath( "core", "places/home.svg" ), "name" => $l->t("Files") ));
......
......@@ -64,7 +64,7 @@ class OC_App{
// The rest comes here
$apps = self::getEnabledApps();
foreach( $apps as $app ){
if((is_null($types) or self::isType($app,$types)) and $app<>'files'){
if((is_null($types) or self::isType($app,$types))){
if(is_file(OC::$APPSROOT.'/apps/'.$app.'/appinfo/app.php')){
require( $app.'/appinfo/app.php' );
}
......@@ -421,7 +421,6 @@ class OC_App{
$source=self::$settingsForms;
break;
case 'admin':
$forms[] = include 'files/admin.php'; //hardcode own apps
$source=self::$adminForms;
break;
case 'personal':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment