Changeset 106385 in spip-zone for _plugins_/facteur


Ignore:
Timestamp:
Sep 22, 2017, 2:04:37 PM (21 months ago)
Author:
marcimat@…
Message:

Compatibilité PHP7, éviter un Deprecated.

Location:
_plugins_/facteur/trunk/lib/markdownify
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/facteur/trunk/lib/markdownify/markdownify.php

    r70528 r106385  
    117117   * @return void
    118118   */
    119   function Markdownify($linksAfterEachParagraph = MDFY_LINKS_EACH_PARAGRAPH, $bodyWidth = MDFY_BODYWIDTH, $keepHTML = MDFY_KEEPHTML) {
     119  function __construct($linksAfterEachParagraph = MDFY_LINKS_EACH_PARAGRAPH, $bodyWidth = MDFY_BODYWIDTH, $keepHTML = MDFY_KEEPHTML) {
    120120    $this->linksAfterEachParagraph = $linksAfterEachParagraph;
    121121    $this->keepHTML = $keepHTML;
  • _plugins_/facteur/trunk/lib/markdownify/markdownify_extra.php

    r70528 r106385  
    4848  var $row = 0;
    4949  /**
    50    * constructor, see Markdownify::Markdownify() for more information
     50   * constructor, see Markdownify::__construct() for more information
    5151   */
    5252  function Markdownify_Extra($linksAfterEachParagraph = MDFY_LINKS_EACH_PARAGRAPH, $bodyWidth = MDFY_BODYWIDTH, $keepHTML = MDFY_KEEPHTML) {
    53     parent::Markdownify($linksAfterEachParagraph, $bodyWidth, $keepHTML);
     53    parent::__construct($linksAfterEachParagraph, $bodyWidth, $keepHTML);
    5454
    5555    ### new markdownable tags & attributes
Note: See TracChangeset for help on using the changeset viewer.