mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
files is not internal any more, part II
This commit is contained in:
parent
d71600213a
commit
6750998984
2 changed files with 2 additions and 2 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Reference in a new issue