cvs: docweb /include docweb_template.class.php lib_general.inc.php /include/rfc rfc.php

[email protected] ("Philip Olson")
Newsgroups php.doc.web
Message-ID <cvsphilip1204389541@cvsserver>
philip		Sat Mar  1 16:39:01 2008 UTC

  Modified files:              
    /docweb/include	docweb_template.class.php lib_general.inc.php 
    /docweb/include/rfc	rfc.php 
  Log:
  =& new --> = new
  
  
http://cvs.php.net/viewvc.cgi/docweb/include/docweb_template.class.php?r1=1.3&r2=1.4&diff_format=u
Index: docweb/include/docweb_template.class.php
diff -u docweb/include/docweb_template.class.php:1.3 docweb/include/docweb_template.class.php:1.4
--- docweb/include/docweb_template.class.php:1.3	Sun Oct 31 04:49:38 2004
+++ docweb/include/docweb_template.class.php	Sat Mar  1 16:39:00 2008
@@ -15,7 +15,7 @@
 +----------------------------------------------------------------------+
 | Authors:          Sean Coates <[email protected]>                         |
 +----------------------------------------------------------------------+
-$Id: docweb_template.class.php,v 1.3 2004/10/31 04:49:38 sean Exp $
+$Id: docweb_template.class.php,v 1.4 2008/03/01 16:39:00 philip Exp $
 */
 
 /**
@@ -99,7 +99,7 @@
         }
 
         // template file is readable, instanciate class
-        $Template =& new DocWeb_Template($filename);
+        $Template = new DocWeb_Template($filename);
         $Template->language = $language;
         return $Template;
     }
http://cvs.php.net/viewvc.cgi/docweb/include/lib_general.inc.php?r1=1.55&r2=1.56&diff_format=u
Index: docweb/include/lib_general.inc.php
diff -u docweb/include/lib_general.inc.php:1.55 docweb/include/lib_general.inc.php:1.56
--- docweb/include/lib_general.inc.php:1.55	Sun Feb  3 19:15:27 2008
+++ docweb/include/lib_general.inc.php	Sat Mar  1 16:39:00 2008
@@ -18,7 +18,7 @@
 |                   Gabor Hojtsy <[email protected]>                        |
 |                   Sean Coates <[email protected]>                         |
 +----------------------------------------------------------------------+
-$Id: lib_general.inc.php,v 1.55 2008/02/03 19:15:27 bjori Exp $
+$Id: lib_general.inc.php,v 1.56 2008/03/01 16:39:00 philip Exp $
 */
 
 require_once dirname(__FILE__) . '/lib_auth.inc.php';
@@ -297,7 +297,7 @@
 
     require_once "XML/RSS.php";
 
-    $RSS =& new XML_RSS($localFile);
+    $RSS = new XML_RSS($localFile);
     $RSS->parse();
     $items = $RSS->getItems();      
     return array(
http://cvs.php.net/viewvc.cgi/docweb/include/rfc/rfc.php?r1=1.23&r2=1.24&diff_format=u
Index: docweb/include/rfc/rfc.php
diff -u docweb/include/rfc/rfc.php:1.23 docweb/include/rfc/rfc.php:1.24
--- docweb/include/rfc/rfc.php:1.23	Mon Dec  4 23:18:04 2006
+++ docweb/include/rfc/rfc.php	Sat Mar  1 16:39:00 2008
@@ -24,7 +24,7 @@
  * @author    Daniel Convissor <[email protected]>
  * @copyright Copyright (c) 1997-2004 The PHP Group
  * @license   http://www.php.net/license/3_0.txt  PHP License
- * @version   $Id: rfc.php,v 1.23 2006/12/04 23:18:04 colder Exp $
+ * @version   $Id: rfc.php,v 1.24 2008/03/01 16:39:00 philip Exp $
  */
 
 $path = realpath(dirname(__FILE__));
@@ -440,7 +440,7 @@
         }
         $result = array();
         while ($set = $res->fetchRow(DB_FETCHMODE_ASSOC)) {
-            $result[$set['id']] =& new proposal($set);
+            $result[$set['id']] = new proposal($set);
         }
         return $result;
     }
@@ -928,7 +928,7 @@
             return $res;
         }
         $set = $res->fetchRow(DB_FETCHMODE_ASSOC);
-        $comment =& new ppComment($set);
+        $comment = new ppComment($set);
         return $comment;
     }
 
@@ -942,7 +942,7 @@
         }
         $comments = array();
         while ($set = $res->fetchRow(DB_FETCHMODE_ASSOC)) {
-            $comments[] =& new ppVote($set);
+            $comments[] = new ppVote($set);
         }
         return $comments;
     }
@@ -1015,7 +1015,7 @@
         }
         $set = $res->fetchRow(DB_FETCHMODE_ASSOC);
         $set['reviews'] = unserialize($set['reviews']);
-        $vote =& new ppVote($set);
+        $vote = new ppVote($set);
         return $vote;
     }
 
@@ -1030,7 +1030,7 @@
         $votes = array();
         while ($set = $res->fetchRow(DB_FETCHMODE_ASSOC)) {
             $set['reviews'] = unserialize($set['reviews']);
-            $votes[$set['user_handle']] =& new ppVote($set);
+            $votes[$set['user_handle']] = new ppVote($set);
         }
         return $votes;
     }
@@ -1133,7 +1133,7 @@
         }
         $links = array();
         while ($set = $res->fetchRow(DB_FETCHMODE_ASSOC)) {
-            $links[] =& new ppLink($set);
+            $links[] = new ppLink($set);
         }
         return $links;
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.