Permalink
Browse files

Merge "Remove unnessary code of quota enforcement"

  • Loading branch information...
2 parents b33ba3a + be7c9bb commit be930b552aca7971f3e074e548bba58920c77f58 Frank Lu committed with Gerrit Code Review Jul 24, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 postgresql/lib/postgresql_service/storage_quota.rb
@@ -85,8 +85,6 @@ def enforce_instance_storage_quota(service, database_size=nil)
return
end
- default_user = service.bindusers.all(:default_user => true)[0]
-
if (size >= @max_db_size) and not quota_exceeded then
if revoke_write_access(name, service)
@logger.info("Storage quota exceeded :" + fmt_db_listing(name, size) +

0 comments on commit be930b5

Please sign in to comment.