added domainname based retention support

This commit is contained in:
SJ
2013-07-31 10:57:45 +02:00
parent d1cae282dc
commit 8b18ce4896
6 changed files with 39 additions and 4 deletions

View File

@ -52,6 +52,7 @@ class ControllerPolicyRetention extends Controller {
$this->request->post['attachment_type'] == '' && $this->request->post['attachment_size'] == '' &&
$this->request->post['spam'] == -1
) {
if(ENABLE_SAAS == 1 && strlen($this->request->post['domain']) > 3) { return true; }
return false;
}