From 230ccbaef045d9a355e4f24921e622200dd64398 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 28 Nov 2011 05:03:57 -0500
Subject: [PATCH] - Apply fix from trunk (r5500)

---
 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 1448fb0..3a5fd1a 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 @@
             $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];

--
Gitblit v1.9.1