diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-07-06 16:11:15 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-07-11 13:52:28 +0200 |
commit | b0418f730f183e74df155adf1327f8489bbc56bf (patch) | |
tree | 6c2be45c9a4708fb84a345419311a76e99bbd071 /apps/files_sharing/src | |
parent | a9f7e66d3dbdd7740aa7f308665d576d3a491378 (diff) | |
download | nextcloud-server-b0418f730f183e74df155adf1327f8489bbc56bf.tar.gz nextcloud-server-b0418f730f183e74df155adf1327f8489bbc56bf.zip |
fix: drop legacy sharing files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r-- | apps/files_sharing/src/files_sharing.ts (renamed from apps/files_sharing/src/files_sharing.js) | 10 | ||||
-rw-r--r-- | apps/files_sharing/src/main.ts | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/apps/files_sharing/src/files_sharing.js b/apps/files_sharing/src/files_sharing.ts index 0578da7f9c5..a92f7ceca93 100644 --- a/apps/files_sharing/src/files_sharing.js +++ b/apps/files_sharing/src/files_sharing.ts @@ -1,5 +1,5 @@ /** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> + * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com> * * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Julius Härtl <jus@bitgrid.net> @@ -20,6 +20,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ +import registerSharingViews from './views/shares' -import '../js/app.js' -import '../js/sharedfilelist.js' +import './actions/acceptShareAction' +import './actions/rejectShareAction' +import './actions/restoreShareAction' + +registerSharingViews() diff --git a/apps/files_sharing/src/main.ts b/apps/files_sharing/src/main.ts index c1d91bb470d..040dd2e17ad 100644 --- a/apps/files_sharing/src/main.ts +++ b/apps/files_sharing/src/main.ts @@ -20,10 +20,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -import './actions/acceptShareAction' -import './actions/rejectShareAction' -import './actions/restoreShareAction' -import registerSharingViews from './views/shares' // register default shares types Object.assign(window.OC, { @@ -41,5 +37,3 @@ Object.assign(window.OC, { SHARE_TYPE_SCIENCEMESH: 15, }, }) - -registerSharingViews() |