mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache, however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache. Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything. With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant. While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed Signed-off-by: Robin Appelman <robin@icewind.nl>
55 lines
1.7 KiB
PHP
55 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
|
*
|
|
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
|
|
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
* @author Frank Karlitschek <frank@karlitschek.de>
|
|
* @author Joas Schilling <coding@schilljs.com>
|
|
* @author Julius Härtl <jus@bitgrid.net>
|
|
* @author Lukas Reschke <lukas@statuscode.ch>
|
|
* @author Morris Jobke <hey@morrisjobke.de>
|
|
* @author Vincent Petry <vincent@nextcloud.com>
|
|
*
|
|
* @license AGPL-3.0
|
|
*
|
|
* This code is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* 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, version 3,
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
*
|
|
*/
|
|
// We only can count up. The 4. digit is only for the internal patch level to trigger DB upgrades
|
|
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patch level
|
|
// when updating major/minor version number.
|
|
|
|
$OC_Version = [27, 0, 0, 1];
|
|
|
|
// The human-readable string
|
|
$OC_VersionString = '27.0.0 dev';
|
|
|
|
$OC_VersionCanBeUpgradedFrom = [
|
|
'nextcloud' => [
|
|
'26.0' => true,
|
|
'27.0' => true,
|
|
],
|
|
'owncloud' => [
|
|
'10.11' => true,
|
|
],
|
|
];
|
|
|
|
// default Nextcloud channel
|
|
$OC_Channel = 'git';
|
|
|
|
// The build number
|
|
$OC_Build = '';
|
|
|
|
// Vendor of this package
|
|
$vendor = 'nextcloud';
|