diff --git a/src/app/common/adf.module.ts b/src/app/common/adf.module.ts deleted file mode 100644 index 9698c33a5..000000000 --- a/src/app/common/adf.module.ts +++ /dev/null @@ -1,44 +0,0 @@ -/*! - * @license - * Copyright 2017 Alfresco Software, Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; - -import { CoreModule } from 'ng2-alfresco-core'; -import { DataTableModule } from 'ng2-alfresco-datatable'; -import { DocumentListModule } from 'ng2-alfresco-documentlist'; -import { ViewerModule } from 'ng2-alfresco-viewer'; -import { UploadModule } from 'ng2-alfresco-upload'; -import { SearchModule } from 'ng2-alfresco-search'; -import { LoginModule } from 'ng2-alfresco-login'; - -export function modules() { - return [ - CoreModule, - DataTableModule, - DocumentListModule, - ViewerModule, - UploadModule, - SearchModule, - LoginModule - ]; -} - -@NgModule({ - imports: modules(), - exports: modules() -}) -export class AdfModule {} diff --git a/src/app/common/common.module.ts b/src/app/common/common.module.ts index 7dadb14f4..06a8d886c 100644 --- a/src/app/common/common.module.ts +++ b/src/app/common/common.module.ts @@ -20,7 +20,7 @@ import { DatePipe } from '@angular/common'; import { RouterModule } from '@angular/router'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; -import { AdfModule } from './adf.module'; +import { AdfModule } from '../adf.module'; import { MaterialModule } from './material.module'; import { FolderDialogComponent } from './dialogs/folder-dialog.component';