]> err.no Git - scalable-opengroupware.org/commitdiff
do not load bundles without extensions
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 28 Mar 2005 20:39:21 +0000 (20:39 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 28 Mar 2005 20:39:21 +0000 (20:39 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@647 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/Main/ChangeLog
SOGo/Main/SOGoGroupPage.m
SOGo/Main/SOGoProductLoader.m
SOGo/Main/SOGoUserHomePage.m
SOGo/Main/Version

index a256d710ce6c0cbbfc9000c3ccfc756c873c800f..7e2f7d5cb0503774ebb8992dd7c26af204fd122f 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-28  Helge Hess  <helge.hess@opengroupware.org>
+
+       * SOGoProductLoader.m: do not try to load directories without
+         extensions (v0.9.28)
+
 2005-03-23  Marcus Mueller  <znek@mulle-kybernetik.com>
 
        * renamed "default.strings" to "Localizable.strings" (v0.9.27)
index cb70b59dcd01beb8565bfbd63cfb2f04735b63ed..f157417e6c133c53e6d74612d68aaebd9eca44aa 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2004 SKYRIX Software AG
+  Copyright (C) 2004-2005 SKYRIX Software AG
 
   This file is part of OpenGroupware.org.
 
   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.
 */
-// $Id: SOGoGroupPage.m 106 2004-06-30 09:44:35Z helge $
 
 #include <NGObjWeb/SoComponent.h>
 
 @interface SOGoGroupPage : SoComponent
-{
-}
-
 @end
 
 #include "common.h"
index 875b93d9abe2bdbcb6f68ecbe95a0a105e4ff940..2d994ea2a4d6467d60018c4c6988d3e6b4e17d43 100644 (file)
     
     while ((productName = [productNames nextObject]) != nil) {
       NSString *bpath;
+
+      if ([[productName pathExtension] length] == 0)
+       /* filter out directories without extensions */
+       continue;
       
       bpath = [lpath stringByAppendingPathComponent:productName];
       [self logWithFormat:@"  register SOGo product: %@", 
index 6b6a5d64456e5c9d5b0fb415567c819185865fc5..e3cdd016ccea5872ecf395451c09154437c872bf 100644 (file)
@@ -1,4 +1,23 @@
-// $Id$
+/*
+  Copyright (C) 2004-2005 SKYRIX Software AG
+
+  This file is part of OpenGroupware.org.
+
+  OGo is free software; you can redistribute it and/or modify it under
+  the terms of the GNU Lesser General Public License as published by the
+  Free Software Foundation; either version 2, or (at your option) any
+  later version.
+
+  OGo 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 Lesser General Public
+  License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with OGo; see the file COPYING.  If not, write to the
+  Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+  02111-1307, USA.
+*/
 
 #include <NGObjWeb/SoComponent.h>
 
 
 @implementation SOGoUserHomePage
 
-- (id)initWithContext:(id)_ctx {
-  if ((self = [super initWithContext:_ctx])) {
-  }
-  return self;
-}
-
-- (void)dealloc {
-  [super dealloc];
-}
-
 /* lookup */
 
 - (id)lookupName:(NSString *)_key inContext:(id)_ctx acquire:(BOOL)_flag {
index ef3a2490a95d9770b6632a33a5593c001bf52ca2..9a461be1bd1ead048704314ed7ac50efd0c790ef 100644 (file)
@@ -1,6 +1,6 @@
 # Version file
 
-SUBMINOR_VERSION:=27
+SUBMINOR_VERSION:=28
 
 # v0.9.24 requires libWEExtensions v4.5.67
 # v0.9.16 requires libNGExtensions v4.5.136