[Fusionforge-commits] FusionForge branch master updated. 82e08fc856f2f081c5e4da6e43eaad8c950bde08

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Jul 3 10:51:28 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  82e08fc856f2f081c5e4da6e43eaad8c950bde08 (commit)
      from  fadd19126982a78b1875ee391c45c0df70c7b00d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 82e08fc856f2f081c5e4da6e43eaad8c950bde08
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Thu Jul 3 10:51:02 2014 +0200

    wiki: remove commented trigger_error

diff --git a/src/plugins/wiki/www/lib/plugin/AuthorHistory.php b/src/plugins/wiki/www/lib/plugin/AuthorHistory.php
index fc15d58..5de7db4 100644
--- a/src/plugins/wiki/www/lib/plugin/AuthorHistory.php
+++ b/src/plugins/wiki/www/lib/plugin/AuthorHistory.php
@@ -85,14 +85,11 @@ class WikiPlugin_AuthorHistory
     {
         $this->_args = $this->getArgs($argstr, $request);
         extract($this->_args);
-        //trigger_error("1 p= $page a= $author");
         if ($page && $page == 'username') //FIXME: use [username]!!!!!
             $page = $author;
-        //trigger_error("2 p= $page a= $author");
         if (!$page || !$author) //user not signed in or no author specified
             return '';
         //$pagelist = new PageList($info, $exclude);
-        ///////////////////////////
 
         $nbsp = HTML::raw(' ');
 
diff --git a/src/plugins/wiki/www/lib/plugin/CreateToc.php b/src/plugins/wiki/www/lib/plugin/CreateToc.php
index 37684a8..4649fd2 100644
--- a/src/plugins/wiki/www/lib/plugin/CreateToc.php
+++ b/src/plugins/wiki/www/lib/plugin/CreateToc.php
@@ -219,9 +219,6 @@ class WikiPlugin_CreateToc
                 }
             }
         }
-        // Do not trigger error, it happens e.g. for "<<CreateToc pagename=AnotherPage>>"
-        // trigger_error("Heading <$h> $heading </$h> not found\n", E_USER_NOTICE);
-
         return 0;
     }
 
diff --git a/src/plugins/wiki/www/lib/plugin/PageDump.php b/src/plugins/wiki/www/lib/plugin/PageDump.php
index 66de123..59d64f1 100644
--- a/src/plugins/wiki/www/lib/plugin/PageDump.php
+++ b/src/plugins/wiki/www/lib/plugin/PageDump.php
@@ -290,7 +290,6 @@ class WikiPlugin_PageDump
         // remove deleted values from array
         for ($i = 0; $i < count($array); $i++) {
             if (trim($array[$i]) != "zzzjunk") { //nasty, fixme
-                //trigger_error("'$array[$i]'");//debugging
                 $return[] = $array[$i];
             }
         }
diff --git a/src/plugins/wiki/www/lib/plugin/PhpHighlight.php b/src/plugins/wiki/www/lib/plugin/PhpHighlight.php
index 673f5d6..8e46601 100644
--- a/src/plugins/wiki/www/lib/plugin/PhpHighlight.php
+++ b/src/plugins/wiki/www/lib/plugin/PhpHighlight.php
@@ -107,14 +107,11 @@ class WikiPlugin_PhpHighlight
         static $MAXLEN = 7;
         foreach (array($string, $comment, $keyword, $bg, $default, $html) as $color) {
             $length = strlen($color);
-            //trigger_error(sprintf(_("DEBUG: color “%s” is length %d."), $color, $length), E_USER_NOTICE);
             if (($length == 7 || $length == 4) && substr($color, 0, 1) == "#"
                 && "#" == preg_replace("/[a-fA-F0-9]/", "", $color)
             ) {
-                //trigger_error(sprintf(_("DEBUG: color “%s” appears to be hex."), $color), E_USER_NOTICE);
                 // stop checking, ok to go
             } elseif (($length < $MAXLEN + 1) && in_array($color, $html4colors)) {
-                //trigger_error(sprintf(_("DEBUG color “%s” appears to be an HTML 4 color."), $color), E_USER_NOTICE);
                 // stop checking, ok to go
             } else {
                 trigger_error(sprintf(_("Invalid color: %s"),
diff --git a/src/plugins/wiki/www/lib/plugin/SiteMap.php b/src/plugins/wiki/www/lib/plugin/SiteMap.php
index 3843258..206e8f5 100644
--- a/src/plugins/wiki/www/lib/plugin/SiteMap.php
+++ b/src/plugins/wiki/www/lib/plugin/SiteMap.php
@@ -83,7 +83,6 @@ class WikiPlugin_SiteMap
         static $VisitedPages = array();
 
         $startpagename = $startpage->getName();
-        //trigger_error("DEBUG: recursivelyGetBackLinks( $startpagename , $level )");
         if ($level == $reclimit)
             return $pagearr;
         if (in_array($startpagename, $VisitedPages))
@@ -110,7 +109,6 @@ class WikiPlugin_SiteMap
         static $VisitedPages = array();
 
         $startpagename = $startpage->getName();
-        //trigger_error("DEBUG: recursivelyGetLinks( $startpagename , $level )");
         if ($level == $reclimit)
             return $pagearr;
         if (in_array($startpagename, $VisitedPages))
@@ -118,7 +116,6 @@ class WikiPlugin_SiteMap
         array_push($VisitedPages, $startpagename);
         $reversed = (($this->firstreversed)
             && ($startpagename == $this->initialpage));
-        //trigger_error("DEBUG: \$reversed = $reversed");
         $pagelinks = $startpage->getLinks($reversed);
         while ($link = $pagelinks->next()) {
             $linkpagename = $link->getName();

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/wiki/www/lib/plugin/AuthorHistory.php |    3 ---
 src/plugins/wiki/www/lib/plugin/CreateToc.php     |    3 ---
 src/plugins/wiki/www/lib/plugin/PageDump.php      |    1 -
 src/plugins/wiki/www/lib/plugin/PhpHighlight.php  |    3 ---
 src/plugins/wiki/www/lib/plugin/SiteMap.php       |    3 ---
 5 files changed, 13 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list