diff options
author | alecpl <alec@alec.pl> | 2011-11-28 10:03:57 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-11-28 10:03:57 +0000 |
commit | 230ccbaef045d9a355e4f24921e622200dd64398 (patch) | |
tree | 3b89ca5346b458ec6217d5c19d2486beaa51a5d7 | |
parent | 77449d011b2367a9f3d7bb179534aa09865aa26e (diff) |
- Apply fix from trunk (r5500)
-rw-r--r-- | plugins/acl/acl.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index 1448fb088..3a5fd1ac1 100644 --- a/plugins/acl/acl.php +++ b/plugins/acl/acl.php @@ -3,7 +3,7 @@ /** * Folders Access Control Lists Management (RFC4314, RFC2086) * - * @version 0.6.3 + * @version @package_version@ * @author Aleksander Machniak <alec@alec.pl> * * @@ -627,7 +627,6 @@ class acl extends rcube_plugin $acl = $this->rc->imap->get_acl('INBOX'); if (is_array($acl)) { $regexp = '/^' . preg_quote($_SESSION['username'], '/') . '@(.*)$/'; - $regexp = '/^' . preg_quote('aleksander.machniak', '/') . '@(.*)$/'; foreach (array_keys($acl) as $name) { if (preg_match($regexp, $name, $matches)) { $domain = $matches[1]; |