[pLog-svn] r7206 - in plog/branches/lifetype-1.2/class: database/pdb/drivers net plugin xml/parser xml/tree
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Apr 25 09:03:27 EDT 2013
Author: jondaley
Date: 2013-04-25 09:03:27 -0400 (Thu, 25 Apr 2013)
New Revision: 7206
Modified:
plog/branches/lifetype-1.2/class/database/pdb/drivers/pdbdriverbase.class.php
plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php
plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php
plog/branches/lifetype-1.2/class/xml/parser/Parser.php
plog/branches/lifetype-1.2/class/xml/tree/Tree.php
Log:
removed deprecated returning by reference. No one runs PHP4 any more anyway, right??
Modified: plog/branches/lifetype-1.2/class/database/pdb/drivers/pdbdriverbase.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/database/pdb/drivers/pdbdriverbase.class.php 2013-04-25 10:59:05 UTC (rev 7205)
+++ plog/branches/lifetype-1.2/class/database/pdb/drivers/pdbdriverbase.class.php 2013-04-25 13:03:27 UTC (rev 7206)
@@ -232,7 +232,7 @@
lt_include( $dataDictPath );
$className = "PDb{$driverName}DataDict";
- $class =& new $className();
+ $class = new $className();
$class->dataProvider = $this;
$class->connection = &$this;
Modified: plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php 2013-04-25 10:59:05 UTC (rev 7205)
+++ plog/branches/lifetype-1.2/class/net/customrequestgenerator.class.php 2013-04-25 13:03:27 UTC (rev 7206)
@@ -398,7 +398,7 @@
if ( $blogId != $ownerId ) {
$blogId = $ownerId;
lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
- $blogs =& new Blogs();
+ $blogs = new Blogs();
$blogInfo = $blogs->getBlogInfo($blogId);
$blogShortName = $blogInfo->getMangledBlog();
$ownerInfo = $blogInfo->getOwnerInfo();
Modified: plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php 2013-04-25 10:59:05 UTC (rev 7205)
+++ plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php 2013-04-25 13:03:27 UTC (rev 7206)
@@ -245,7 +245,7 @@
if( File::isReadable( $pluginFile."/".$pluginFileName )) {
$className = "Plugin".$plugin;
lt_include( $pluginFullPath );
- $classInstance =& new $className( $this->_source );
+ $classInstance = new $className( $this->_source );
$classInstance->setPluginFolder( PLOG_CLASS_PATH.$pluginFile."/" );
$name = $classInstance->getId();
Modified: plog/branches/lifetype-1.2/class/xml/parser/Parser.php
===================================================================
--- plog/branches/lifetype-1.2/class/xml/parser/Parser.php 2013-04-25 10:59:05 UTC (rev 7205)
+++ plog/branches/lifetype-1.2/class/xml/parser/Parser.php 2013-04-25 13:03:27 UTC (rev 7206)
@@ -559,7 +559,7 @@
function raiseError($msg = null, $ecode = 0)
{
$msg = !is_null($msg) ? $msg : $this->parser;
- $err = &new XML_Parser_Error($msg, $ecode);
+ $err = new XML_Parser_Error($msg, $ecode);
$this->free();
return $err;
Modified: plog/branches/lifetype-1.2/class/xml/tree/Tree.php
===================================================================
--- plog/branches/lifetype-1.2/class/xml/tree/Tree.php 2013-04-25 10:59:05 UTC (rev 7205)
+++ plog/branches/lifetype-1.2/class/xml/tree/Tree.php 2013-04-25 13:03:27 UTC (rev 7206)
@@ -292,7 +292,7 @@
//$parent->children[] = &new XML_Tree_Node(null, $this->cdata, null, $lineno);
}
$obj_id = 'obj' . $this->i++;
- $this->$obj_id = &new XML_Tree_Node($elem, null, $attribs, $lineno);
+ $this->$obj_id = new XML_Tree_Node($elem, null, $attribs, $lineno);
}
$this->cdata = null;
return null;
@@ -317,7 +317,7 @@
// mixed contents
if (count($node->children) > 0) {
if (trim($this->cdata) != '') {
- $node->children[] = &new XML_Tree_Node(null, $this->cdata);
+ $node->children[] = new XML_Tree_Node(null, $this->cdata);
}
} else {
$node->setContent($this->cdata);
@@ -330,7 +330,7 @@
$node =& $this->obj1;
if (count($node->children) > 0) {
if (trim($this->cdata)) {
- $node->children[] = &new XML_Tree_Node(null, $this->cdata);
+ $node->children[] = new XML_Tree_Node(null, $this->cdata);
}
} else {
$node->setContent($this->cdata);
More information about the pLog-svn
mailing list