]> err.no Git - sope/blobdiff - sope-appserver/NGObjWeb/WOChildComponentReference.m
removed bogus line
[sope] / sope-appserver / NGObjWeb / WOChildComponentReference.m
index 3dadbd1e56ac798a12fbfa6d0df2204c3606d001..adfdfcf66a2a92702107c4b020112e66b1ae303f 100644 (file)
@@ -18,7 +18,7 @@
   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.
 */
-// $Id$
+// $Id: WOChildComponentReference.m 1 2004-08-20 10:08:27Z znek $
 
 #include "WOChildComponentReference.h"
 #include "WOComponent+private.h"
@@ -92,14 +92,14 @@ static Class NSDateClass = Nil;
   NSTimeInterval st = 0.0;
   
   if ((parent = [_ctx component]) == nil) {
-    [self logWithFormat:
-            @"WARNING(%s): did not find parent component of child %@",
+    [self warnWithFormat:
+            @"%s: did not find parent component of child %@",
             __PRETTY_FUNCTION__, self->childName];
     return;
   }
   if ((child = [parent childComponentWithName:self->childName]) == nil) {
-    [self logWithFormat:
-            @"WARNING: did not find child component %@ of parent %@",
+    [self warnWithFormat:
+            @"did not find child component %@ of parent %@",
             self->childName, [parent name]];
     return;
   }
@@ -129,14 +129,14 @@ static Class NSDateClass = Nil;
 
   if ((parent = [_ctx component]) == nil) {
     [[_ctx session]
-           logWithFormat:@"WARNING: did not find parent component of child %@",
+           warnWithFormat:@"did not find parent component of child %@",
              self->childName];
     return nil;
   }
   if ((child = [parent childComponentWithName:self->childName]) == nil) {
     [[_ctx session]
-           logWithFormat:
-             @"WARNING: did not find child component %@ of parent %@",
+           warnWithFormat:
+             @"did not find child component %@ of parent %@",
              self->childName, [parent name]];
     return nil;
   }
@@ -166,14 +166,14 @@ static Class NSDateClass = Nil;
   NSTimeInterval st = 0.0;
   
   if ((parent = [_ctx component]) == nil) {
-    [self logWithFormat:
-            @"WARNING(%s): did not find parent component of child %@",
+    [self warnWithFormat:
+            @"%s: did not find parent component of child %@",
             __PRETTY_FUNCTION__, self->childName];
     return;
   }
   if ((child = [parent childComponentWithName:self->childName]) == nil) {
-    [self logWithFormat:
-            @"WARNING: did not find child component %@ of parent %@",
+    [self warnWithFormat:
+            @"did not find child component %@ of parent %@",
             self->childName, [parent name]];
     [_response appendContentString:@"<pre>[missing component: "];
     [_response appendContentHTMLString:self->childName];