cvs: pear /DB_DataObject/DataObject Generator.php
| From: | Alan Knowles | Date: | Tue, 29 Jun 2004 09:51:23 +0000 |
| Subject: | cvs: pear /DB_DataObject/DataObject Generator.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21241@lists.php.net to get a copy of this message | ||
alan_k Tue Jun 29 05:51:23 2004 EDT
Modified files:
/pear/DB_DataObject/DataObject Generator.php
Log:
probably fix bug #1697 extra line created after definition.
http://cvs.php.net/diff.php/pear/DB_DataObject/DataObject/Generator.php?r1=1.65&r2=1.66&ty=u
Index: pear/DB_DataObject/DataObject/Generator.php
diff -u pear/DB_DataObject/DataObject/Generator.php:1.65
pear/DB_DataObject/DataObject/Generator.php:1.66
--- pear/DB_DataObject/DataObject/Generator.php:1.65 Wed Jun 9 23:51:47 2004
+++ pear/DB_DataObject/DataObject/Generator.php Tue Jun 29 05:51:23 2004
@@ -14,7 +14,7 @@
// +----------------------------------------------------------------------+
// | Author: Alan Knowles <alan@akbkhome.com>
// +----------------------------------------------------------------------+
-// $Id: Generator.php,v 1.65 2004/06/10 03:51:47 alan_k Exp $
+// $Id: Generator.php,v 1.66 2004/06/29 09:51:23 alan_k Exp $
/**
* Generation tools for DB_DataObjectp
@@ -494,7 +494,7 @@
$head .= "require_once '{$this->_extendsFile}';\n\n";
// add dummy class header in...
// class
- $head .= "class {$this->classname} extends {$this->_extends} \n{\n";
+ $head .= "class {$this->classname} extends {$this->_extends} \n{";
$body = "\n ###START_AUTOCODE\n";
$body .= " /* the code below is auto generated do not remove the above tag
*/\n\n";