SF.net SVN: phpwiki:[10678] trunk/lib/WikiTheme.php

vargenau--- via phpwiki-checkins <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.checkins
Message-ID <[email protected]>
Revision: 10678
          http://sourceforge.net/p/phpwiki/code/10678
Author:   vargenau
Date:     2021-11-23 14:23:10 +0000 (Tue, 23 Nov 2021)
Log Message:
-----------
class RelatedExternalLinksBox is not used

Modified Paths:
--------------
    trunk/lib/WikiTheme.php

Modified: trunk/lib/WikiTheme.php
===================================================================
--- trunk/lib/WikiTheme.php	2021-11-22 21:03:32 UTC (rev 10677)
+++ trunk/lib/WikiTheme.php	2021-11-23 14:23:10 UTC (rev 10678)
@@ -1951,32 +1951,6 @@
     }
 }
 
-class RelatedExternalLinksBox extends SidebarBox
-{
-    function __construct($title = false, $body = '', $limit = 20)
-    {
-        /**
-         * @var WikiRequest $request
-         */
-        global $request;
-
-        $this->title = $title ? $title : _("External Links");
-        $this->body = HTML::ul($body);
-        $page = $request->getPage($request->getArg('pagename'));
-        $cache = &$page->_wikidb->_cache;
-        $counter = 0;
-        foreach ($cache->getWikiPageLinks() as $link) {
-            $linkto = $link['linkto'];
-            if ($linkto) {
-                $this->body->pushContent(HTML::li(WikiLink($linkto)));
-                $counter++;
-                if ($limit and $counter > $limit)
-                    continue;
-            }
-        }
-    }
-}
-
 function listAvailableThemes()
 {
     if (THEME == 'fusionforge') {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
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.