summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f2075d)
raw | patch | inline | side by side (parent: 0f2075d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 10:07:20 +0000 (10:07 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 10:07:20 +0000 (10:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15528 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc
index ee08531836163e3b5794699910dc5ab5f741e60e..3324452f5576dfa147839656b4f76746e48a0161 100644 (file)
}
}
+ // Check if a wrong base was supplied
+ if(!$this->baseSelector->checkLastBaseUpdate()){
+ $message[]= msgPool::check_base();;
+ }
+
/* Check if given name is a valid host/dns name */
if(!tests::is_dns_name($this->cn) ){
$message[] = msgPool::invalid(_("Name"));
diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc
index 069010e809aa6e458d94713eb11d2c656bad565a..1895d9c0c1783a4514591d8cd17dd6511f8f14e5 100644 (file)
$message[]= msgPool::required(_("PIN"));
}
+ // Check if a wrong base was supplied
+ if(!$this->baseSelector->checkLastBaseUpdate()){
+ $message[]= msgPool::check_base();;
+ }
+
if($this->cn == ""){
$message[] = msgPool::required(_("Name"));
}
diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc
index 3fe01851a77b54bcca7827b9ad33bffc9a5ce4c2..817b7aeadb9b554e10e286768bcc5981fd51fd8a 100644 (file)
$message[]= msgPool::duplicated(_("Name"));
}
}
+
+ // Check if a wrong base was supplied
+ if(!$this->baseSelector->checkLastBaseUpdate()){
+ $message[]= msgPool::check_base();;
+ }
/* Check if display name is set */
if($this->displayName == ""){