Rewrite FlagSet in order to run flag operation in constant time.
[platal.git] / include / emails.inc.php
index 7f4f17d..f9c131a 100644 (file)
@@ -273,7 +273,7 @@ class EmailStorage extends Email
         $res = XDB::query("SELECT  mail_storage
                              FROM  auth_user_md5
                             WHERE  user_id = {?}", $this->uid);
-        return new FlagSet($res->fetchOneCell());
+        return new PlFlagSet($res->fetchOneCell());
     }
 
     // Updates the list of active storages.