Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

revert errors.go

mngshm3b3ba721a295
diff --git a/server/ente/errors.go b/server/ente/errors.go
index 79398f755f..aac78f6f73 100644
--- a/server/ente/errors.go
+++ b/server/ente/errors.go
@@ -94,13 +94,6 @@ var ErrLockUnavailable = errors.New("could not acquire lock")
// ErrActiveLinkAlreadyExists is thrown when the collection already has active public link
var ErrActiveLinkAlreadyExists = errors.New("Collection already has active public link")
-// ErrCannotModifyAdminStoragLimit is thrown when the admin is modifying their own storage limit
-var ErrCannotModifyAdminStoragLimit = errors.New("cannot modify admin storage limit")
-
-// ErrFailedReducingStorageLimit is thrown when the admin is setting storage limit lesser than
-// members pre-consumed storage
-var ErrFailedReducingStorageLimit = errors.New("members usage is more than potential storage limit")
-
// ErrNotImplemented indicates that the action that we tried to perform is not
// available at this museum instance. e.g. this could be something that is not
// enabled on this particular instance of museum.