SF.net SVN: phpwiki:[11128] trunk/lib

carstenklapp--- via phpwiki-checkins <[email protected]> Tue, 18 Feb 2025 07:46:33 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 11128
          http://sourceforge.net/p/phpwiki/code/11128
Author:   carstenklapp
Date:     2025-02-18 07:46:33 +0000 (Tue, 18 Feb 2025)
Log Message:
-----------
disable debugging code

Modified Paths:
--------------
    trunk/lib/SemanticWeb.php
    trunk/lib/difflib.php

Modified: trunk/lib/SemanticWeb.php
===================================================================
--- trunk/lib/SemanticWeb.php	2025-02-18 06:52:56 UTC (rev 11127)
+++ trunk/lib/SemanticWeb.php	2025-02-18 07:46:33 UTC (rev 11128)
@@ -193,7 +193,7 @@
         */
         // This plugin doesn't seem to be finished. Carsten
         echo "<pre>DEBUG:\n";
-        print_r($this->_pagelist);
+        // print_r($this->_pagelist);
         foreach ($this->_pagelist->_pages as $page) {
             $relation = new TextSearchQuery("*");
             foreach (array('linkto', 'linkfrom', 'relation', 'attribute') as $linktype) {

Modified: trunk/lib/difflib.php
===================================================================
--- trunk/lib/difflib.php	2025-02-18 06:52:56 UTC (rev 11127)
+++ trunk/lib/difflib.php	2025-02-18 07:46:33 UTC (rev 11128)
@@ -312,7 +312,7 @@
                 }
                 foreach ($matches as $junk => $y) {
                     if ($y > $this->seq[$k - 1]) {
-                        assert($y < $this->seq[$k]);
+                        //assert($y < $this->seq[$k]);
                         // Optimization: this is a common case:
                         //  next match is just replacing previous match.
                         $this->in_seq[$this->seq[$k]] = false;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.