aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-06-16 13:22:55 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-06-24 16:54:11 +0200
commit1afc82327aecbd372ddcd5bf8306bcb3722700ed (patch)
tree7004f37c8faabdc2204ed5e407e66d46d3b92287 /apps/files/js
parent99cbf778f31a543889edcc709dbc9e8c9361e5f5 (diff)
downloadnextcloud-server-1afc82327aecbd372ddcd5bf8306bcb3722700ed.tar.gz
nextcloud-server-1afc82327aecbd372ddcd5bf8306bcb3722700ed.zip
Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js6
-rw-r--r--apps/files/js/files.js4
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 442fdec9322..c1b603da714 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -666,7 +666,7 @@
* @param {string} [tabId] optional tab id to select
*/
showDetailsView: function(fileName, tabId) {
- console.warn('showDetailsView is deprecated! Use OCA.Files.Sidebar.activeTab. It will be removed in nextcloud 20.');
+ console.debug('showDetailsView is deprecated! Use OCA.Files.Sidebar.activeTab. It will be removed in nextcloud 20.');
this._updateDetailsView(fileName);
if (tabId) {
OCA.Files.Sidebar.setActiveTab(tabId);
@@ -3879,7 +3879,7 @@
* Register a tab view to be added to all views
*/
registerTabView: function(tabView) {
- console.warn('registerTabView is deprecated! It will be removed in nextcloud 20.');
+ console.debug('registerTabView is deprecated! It will be removed in nextcloud 20.');
const enabled = tabView.canDisplay || undefined
if (tabView.id) {
OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab({
@@ -3905,7 +3905,7 @@
* Register a detail view to be added to all views
*/
registerDetailView: function(detailView) {
- console.warn('registerDetailView is deprecated! It will be removed in nextcloud 20.');
+ console.debug('registerDetailView is deprecated! It will be removed in nextcloud 20.');
if (detailView.el) {
OCA.Files.Sidebar.registerSecondaryView(detailView)
}
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index b0c38248183..f37ad88c86a 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -281,7 +281,7 @@
* @deprecated used OCA.Files.FileList.generatePreviewUrl instead
*/
generatePreviewUrl: function(urlSpec) {
- console.warn('DEPRECATED: please use generatePreviewUrl() from an OCA.Files.FileList instance');
+ console.debug('DEPRECATED: please use generatePreviewUrl() from an OCA.Files.FileList instance');
return OCA.Files.App.fileList.generatePreviewUrl(urlSpec);
},
@@ -290,7 +290,7 @@
* @deprecated used OCA.Files.FileList.lazyLoadPreview instead
*/
lazyLoadPreview : function(path, mime, ready, width, height, etag) {
- console.warn('DEPRECATED: please use lazyLoadPreview() from an OCA.Files.FileList instance');
+ console.debug('DEPRECATED: please use lazyLoadPreview() from an OCA.Files.FileList instance');
return FileList.lazyLoadPreview({
path: path,
mime: mime,