equal
deleted
inserted
replaced
290 Arguments: |
290 Arguments: |
291 |
291 |
292 `quotalimit` : VirtualMailManager.quotalimit.QuotaLimit |
292 `quotalimit` : VirtualMailManager.quotalimit.QuotaLimit |
293 the new quota limit of the domain. |
293 the new quota limit of the domain. |
294 """ |
294 """ |
295 if cfg_dget('misc.dovecot_version') < 0x10102f00: |
|
296 raise VMMError(_('PostgreSQL-based dictionary quota requires ' |
|
297 'Dovecot >= v1.1.2.'), VMM_ERROR) |
|
298 self._chk_state() |
295 self._chk_state() |
299 if quotalimit == self._qlimit: |
296 if quotalimit == self._qlimit: |
300 return |
297 return |
301 self._qlimit = quotalimit |
298 self._qlimit = quotalimit |
302 if quotalimit is not None: |
299 if quotalimit is not None: |