svn: /pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/ Plugin.php Wiki/Link.php

[email protected] (Brett Bieber)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
saltybeagle                              Fri, 18 Jun 2010 14:46:18 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=300575

Log:
No more __postConstruct

Changed paths:
    U   pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Plugin.php
    U   pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Wiki/Link.php

Modified: pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Plugin.php
===================================================================
--- pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Plugin.php	2010-06-18 14:32:42 UTC (rev 300574)
+++ pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Plugin.php	2010-06-18 14:46:18 UTC (rev 300575)
@@ -113,10 +113,8 @@
      * @return void
      *
      */
-    protected function _postConstruct()
+    function __construct()
     {
-        parent::_postConstruct();
-
         $this->_nested_brackets =
             str_repeat('(?>[^\[\]]+|\[', $this->_nested_brackets_depth).
             str_repeat('\])*', $this->_nested_brackets_depth);

Modified: pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Wiki/Link.php
===================================================================
--- pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Wiki/Link.php	2010-06-18 14:32:42 UTC (rev 300574)
+++ pear2/sandbox/Text_Markdown/trunk/src/Text/Markdown/Wiki/Link.php	2010-06-18 14:46:18 UTC (rev 300575)
@@ -183,9 +183,8 @@
      * @return void
      *
      */
-    protected function _postConstruct()
+    function __construct()
     {
-        parent::_postConstruct();
         $this->_class = get_class($this);
     }
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.