diff --git a/gosa-plugins/mail/personal/mail/sieve/class_sieveManagement.inc b/gosa-plugins/mail/personal/mail/sieve/class_sieveManagement.inc
index a47cd4bda0892fdb39b3247277149fab56cc5e8c..650c95a2d332c8a0d11e91460c907836ed9043f3 100644 (file)
$cfg["sieve_port"],
$this->parent->$uattrib,
$cfg["password"],
- $cfg["admin"]);
+ $cfg["admin"],
+ $cfg["sieve_option"]);
/* Try to login */
if (!@$this->sieve_handle->sieve_login()){
*/
function execute()
{
+ plugin::execute();
/***************
* Create a new Script
***************/
trigger_error("Can't add new element, given id is not numeric.");
return(FALSE);
}
- $tmp = get_declared_classes();
- if(!in_array($type,$tmp)){
+ if(!class_available($type)){
if(!empty($type)){
trigger_error("Can't add new element, given \$class=".$class." does not exists.");
}