Update dependencies
This commit is contained in:
parent
ef2a3eeea6
commit
b37df95c7b
|
@ -4,6 +4,8 @@ namespace KD2\WebDAV;
|
||||||
|
|
||||||
abstract class NextCloud
|
abstract class NextCloud
|
||||||
{
|
{
|
||||||
|
const NC_VERSION = '27.0.2';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* File permissions for NextCloud clients
|
* File permissions for NextCloud clients
|
||||||
* https://doc.owncloud.com/desktop/next/appendices/architecture.html#server-side-permissions
|
* https://doc.owncloud.com/desktop/next/appendices/architecture.html#server-side-permissions
|
||||||
|
@ -434,7 +436,7 @@ abstract class NextCloud
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$name = 'NextCloud';
|
$name = 'NextCloud';
|
||||||
$version = '24.0.4';
|
$version = self::NC_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
@ -493,12 +495,14 @@ abstract class NextCloud
|
||||||
|
|
||||||
public function nc_capabilities()
|
public function nc_capabilities()
|
||||||
{
|
{
|
||||||
|
$v = explode('.', self::NC_VERSION);
|
||||||
|
|
||||||
return $this->nc_ocs([
|
return $this->nc_ocs([
|
||||||
'version' => [
|
'version' => [
|
||||||
'major' => 24,
|
'major' => (int)$v[0],
|
||||||
'minor' => 0,
|
'minor' => (int)$v[1],
|
||||||
'micro' => 4,
|
'micro' => (int)$v[1],
|
||||||
'string' => '24.0.4',
|
'string' => self::NC_VERSION,
|
||||||
'edition' => '',
|
'edition' => '',
|
||||||
'extendedSupport' => false,
|
'extendedSupport' => false,
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue