diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-07-06 17:23:17 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-07-06 17:40:31 +0200 |
commit | a5630abedcce9f6c1cb9aac6000bd6071823443d (patch) | |
tree | e3cd19be90fdad00e3cc72f8d3bcc9444af7bc7c /core/src/OCA | |
parent | 5538a40029da60547798ae6f9e11179c4ee4a642 (diff) | |
download | nextcloud-server-a5630abedcce9f6c1cb9aac6000bd6071823443d.tar.gz nextcloud-server-a5630abedcce9f6c1cb9aac6000bd6071823443d.zip |
fix: Remove deprecation warning for already removed API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core/src/OCA')
-rw-r--r-- | core/src/OCA/index.js | 9 | ||||
-rw-r--r-- | core/src/OCA/search.js | 32 |
2 files changed, 1 insertions, 40 deletions
diff --git a/core/src/OCA/index.js b/core/src/OCA/index.js index aefc85bdb72..f49f0319a9c 100644 --- a/core/src/OCA/index.js +++ b/core/src/OCA/index.js @@ -20,16 +20,9 @@ * */ -import Search from './search.js' - /** * Namespace for apps * * @namespace OCA */ -export default { - /** - * @deprecated 20.0.0, will be removed in Nextcloud 22 - */ - Search, -} +export default { } diff --git a/core/src/OCA/search.js b/core/src/OCA/search.js deleted file mode 100644 index f0395c0bcd5..00000000000 --- a/core/src/OCA/search.js +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at> - * - * @author Christoph Wurst <christoph@winzerhof-wurst.at> - * - * @license AGPL-3.0-or-later - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -export default class Search { - - /** - * @deprecated 20.0.0, will be removed in Nextcloud 22 - */ - constructor() { - OC.debug && console.warn('OCA.Search is deprecated. Please use the unified search API instead') - } - -} |