summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f19dd9)
raw | patch | inline | side by side (parent: 5f19dd9)
author | blainett <blainett@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Jun 2005 13:43:16 +0000 (13:43 +0000) | ||
committer | blainett <blainett@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Jun 2005 13:43:16 +0000 (13:43 +0000) |
And Undefined index: fstate
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@676 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@676 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/connectivity/class_oxchangeAccount.inc | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_oxchangeAccount.inc b/plugins/personal/connectivity/class_oxchangeAccount.inc
index 9b774ba3a9d6fc077a95ce457a39502bfcddfc7d..1fddc4935acb993eaf51c7c4f1988d5cd9bbfbb8 100644 (file)
<?php
+/*
+ This code is part of GOsa (https://gosa.gonicus.de)
+ Copyright (C) 2005 Alejandro Escanero Blanco
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
class oxchangeAccount extends plugin
{
$smarty->assign("oxchangeState", "checked");
} else {
$smarty->assign("oxchangeState", "");
- $smarty->assign("fstate", "disabled");
}
- // if ($this->is_account){
$smarty->assign("timezones", $this->timezones);
- // } else {
- // $smarty->assign("timezones", array("GMT"));
- // }
if ($this->parent != NULL){
$needupdate=TRUE;
/*First at all, we must check if this is new or is updated */
- for ($i=0;$i<$this->attrs['objectClass']['count'];$i++){
- if($this->attrs['objectClass'][$i]=="OXUserObject") $needupdate=FALSE;
+ foreach ($this->attrs['objectClass'] as $object){
+ if($object=="OXUserObject") $needupdate=FALSE;
}
if($needupdate){
}
}
-
-// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>