Skip to content

Commit 75e5416

Browse files
committed
chore: remove deprecated OC.Files call
Signed-off-by: grnd-alt <git@belakkaf.net>
1 parent d48060e commit 75e5416

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/main.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ Vue.config.errorHandler = (err, vm, info) => {
4141
console.error(err)
4242
}
4343

44-
// TODO: remove when we have a proper fileinfo standalone library
45-
// original scripts are loaded from
46-
// https://github.com/nextcloud/server/blob/5bf3d1bb384da56adbf205752be8f840aac3b0c5/lib/private/legacy/template.php#L120-L122
47-
window.addEventListener('DOMContentLoaded', () => {
48-
if (!window.OCA.Files) {
49-
window.OCA.Files = {}
50-
}
51-
// register unused client for the sidebar to have access to its parser methods
52-
Object.assign(window.OCA.Files, { App: { fileList: { filesClient: OC.Files.getClient() } } }, window.OCA.Files)
53-
})
54-
5544
/* eslint-disable-next-line no-new */
5645
new Vue({
5746
el: '#content',

0 commit comments

Comments
 (0)