summaryrefslogtreecommitdiffstats
path: root/core/src/Util
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-31 12:15:40 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-03-31 12:17:18 +0200
commit3e624dc39966f54c6d418eee2e8141fc5c21f751 (patch)
treeaa5f0fa8498c2ad7f281295296f341aac7cc04ae /core/src/Util
parent91510d95f15b5b84482b5700b04d229db28fbdff (diff)
downloadnextcloud-server-3e624dc39966f54c6d418eee2e8141fc5c21f751.tar.gz
nextcloud-server-3e624dc39966f54c6d418eee2e8141fc5c21f751.zip
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/Util')
-rw-r--r--core/src/Util/get-url-parameter.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/core/src/Util/get-url-parameter.js b/core/src/Util/get-url-parameter.js
index 6f809994f10..1bde89ed7b1 100644
--- a/core/src/Util/get-url-parameter.js
+++ b/core/src/Util/get-url-parameter.js
@@ -1,7 +1,8 @@
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
- * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
+ * @author Christoph Wurst <christoph@winzerhof-wurst.at>
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -16,15 +17,10 @@
* 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/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
*/
-/**
- * Get the value of a URL parameter
- * @link http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery
- * @param {string} name URL parameter
- * @returns {string}
- */
export default function getURLParameter(name) {
return decodeURIComponent(
// eslint-disable-next-line no-sparse-arrays