Browse Source
Merge pull request #39200 from nextcloud/fix/remove-already-removed-api-deprecation
fix: Remove deprecation warning for already removed API
pull/39203/head
Christoph Wurst
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with
7 additions and
90 deletions
-
core/src/OCA/index.js
-
core/src/OCA/search.js
-
dist/core-login.js
-
dist/core-login.js.LICENSE.txt
-
dist/core-login.js.map
-
dist/core-main.js
-
dist/core-main.js.LICENSE.txt
-
dist/core-main.js.map
|
|
|
@ -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 { } |
|
|
|
@ -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') |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
@ -212,28 +212,6 @@ |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
/** |
|
|
|
* @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/>. |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
/** |
|
|
|
* @copyright 2020, Roeland Jago Douma <roeland@famdouma.nl> |
|
|
|
* |
|
|
|
|
|
|
|
@ -561,28 +561,6 @@ |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
/** |
|
|
|
* @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/>. |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
/** |
|
|
|
* @copyright Bernhard Posselt 2014 |
|
|
|
* |
|
|
|
|