cvs: pear /MDB2_Schema/MDB2/Schema Parser.php Writer.php
| From: | Lukas Smith | Date: | Thu, 07 Apr 2005 20:58:19 +0000 |
| Subject: | cvs: pear /MDB2_Schema/MDB2/Schema Parser.php Writer.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-31026@lists.php.net to get a copy of this message | ||
lsmith Thu Apr 7 16:58:19 2005 EDT
Modified files:
/pear/MDB2_Schema/MDB2/Schema Parser.php Writer.php
Log:
- forgot the change MDB2::raiseError() to PEAR::raiseError() until MDB2-2.0.0.beta4 is released
http://cvs.php.net/diff.php/pear/MDB2_Schema/MDB2/Schema/Parser.php?r1=1.1&r2=1.2&ty=u
Index: pear/MDB2_Schema/MDB2/Schema/Parser.php
diff -u pear/MDB2_Schema/MDB2/Schema/Parser.php:1.1 pear/MDB2_Schema/MDB2/Schema/Parser.php:1.2
--- pear/MDB2_Schema/MDB2/Schema/Parser.php:1.1 Sat Apr 2 07:10:30 2005
+++ pear/MDB2_Schema/MDB2/Schema/Parser.php Thu Apr 7 16:58:18 2005
@@ -42,7 +42,7 @@
// | Author: Christian Dickmann <dickmann@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Parser.php,v 1.1 2005/04/02 12:10:30 lsmith Exp $
+// $Id: Parser.php,v 1.2 2005/04/07 20:58:18 lsmith Exp $
//
require_once 'XML/Parser.php';
@@ -456,7 +456,7 @@
$error .= " - Byte: $byte; Line: $line; Col: $column";
}
$error .= "\n";
- $this->error = MDB2::raiseError(MDB2_ERROR_MANAGER_PARSE, null, null, $error);
+ $this->error = PEAR::raiseError(null, MDB2_ERROR_MANAGER_PARSE, null, null, $error,
'MDB2_Error', true);
}
return $this->error;
}
http://cvs.php.net/diff.php/pear/MDB2_Schema/MDB2/Schema/Writer.php?r1=1.1&r2=1.2&ty=u
Index: pear/MDB2_Schema/MDB2/Schema/Writer.php
diff -u pear/MDB2_Schema/MDB2/Schema/Writer.php:1.1 pear/MDB2_Schema/MDB2/Schema/Writer.php:1.2
--- pear/MDB2_Schema/MDB2/Schema/Writer.php:1.1 Sat Apr 2 07:10:30 2005
+++ pear/MDB2_Schema/MDB2/Schema/Writer.php Thu Apr 7 16:58:18 2005
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Writer.php,v 1.1 2005/04/02 12:10:30 lsmith Exp $
+// $Id: Writer.php,v 1.2 2005/04/07 20:58:18 lsmith Exp $
//
@@ -80,7 +80,7 @@
*/
function &raiseError($code = null, $mode = null, $options = null, $userinfo = null)
{
- return MDB2::raiseError($code, $mode, $options, $userinfo);
+ return PEAR::raiseError(null, $code, $mode, $options, $userinfo, 'MDB2_Error',
true);
}
// }}}