summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 82b9b8c)
raw | patch | inline | side by side (parent: 82b9b8c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Apr 2007 09:09:06 +0000 (09:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Apr 2007 09:09:06 +0000 (09:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6079 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/phoneaccount/class_phoneAccount.inc | patch | blob | history | |
plugins/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index 579ab01b7829cabed6a091feed4b1a84f60de2c2..3a985f37cede9f0309785ba887ebd5840eecb85b 100644 (file)
* and first server as default if necessary.
* Check if connection is successfull for the selected server $this->goFonHomeServer
*/
+
+ /* Set available server */
+ if(isset($_SESSION['config']->data['SERVERS']['FON'])){
+ $this->goFonHomeServers = $_SESSION['config']->data['SERVERS']['FON'];
+ }
+
$a_SETUP= array();
- if(array_key_exists('config',$_SESSION) &&
+ if($this->is_account &&
+ array_key_exists('config',$_SESSION) &&
array_key_exists('SERVERS',$_SESSION['config']->data) &&
array_key_exists('FON',$_SESSION['config']->data['SERVERS']) &&
is_callable("mysql_connect")
) {
- /* Set available server */
- $this->goFonHomeServers = $_SESSION['config']->data['SERVERS']['FON'];
-
/* Servers defined? Watch here... */
if (count($this->goFonHomeServers)){
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index 95960749a21ff53d8b19c9be810216b90ba451ba..ac113fde2919bfa41beef75be5864f07151329d5 100644 (file)
} else {
$this->folder_prefix= "user.";
}
-
+
/* This is not a new account, parse additional attributes */
if (($dn != NULL) && ($dn != "new") && $this->is_account){