Bump reva
This commit is contained in:
committed by
Ralf Haferkamp
parent
366296eba6
commit
56a6b0c5d0
Generated
Vendored
+2
@@ -48,6 +48,8 @@ const (
|
||||
|
||||
// PropQuotaUnknown is the quota unknown property
|
||||
PropQuotaUnknown = "-2"
|
||||
// PropQuotaUnlimited is the quota unlimited property
|
||||
PropQuotaUnlimited = "-3"
|
||||
// PropOcFavorite is the favorite ns property
|
||||
PropOcFavorite = "http://owncloud.org/ns/favorite"
|
||||
// PropOcMetaPathForUser is the meta-path-for-user ns property
|
||||
|
||||
Generated
Vendored
+4
-1
@@ -1105,8 +1105,11 @@ func mdToPropResponse(ctx context.Context, pf *XML, md *provider.ResourceInfo, p
|
||||
sublog.Error().Err(err).Msg("could not unmarshal link json")
|
||||
}
|
||||
}
|
||||
if quota = utils.ReadPlainFromOpaque(md.Opaque, "quota"); quota == "" {
|
||||
switch quota = utils.ReadPlainFromOpaque(md.Opaque, "quota"); quota {
|
||||
case "":
|
||||
quota = net.PropQuotaUnknown
|
||||
case "0":
|
||||
quota = net.PropQuotaUnlimited
|
||||
}
|
||||
if md.Opaque.Map["lock"] != nil && md.Opaque.Map["lock"].Decoder == "json" {
|
||||
lock = &provider.Lock{}
|
||||
|
||||
Reference in New Issue
Block a user