From: <var...@us...> - 2016-05-23 19:16:34
|
Revision: 9842 http://sourceforge.net/p/phpwiki/code/9842 Author: vargenau Date: 2016-05-23 19:16:31 +0000 (Mon, 23 May 2016) Log Message: ----------- Use __construct Modified Paths: -------------- trunk/lib/WikiTheme.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2016-05-23 18:56:36 UTC (rev 9841) +++ trunk/lib/WikiTheme.php 2016-05-23 19:16:31 UTC (rev 9842) @@ -1857,7 +1857,7 @@ */ class SidebarBox { - function SidebarBox($title, $body) + function __construct($title, $body) { require_once 'lib/WikiPlugin.php'; $this->title = $title; @@ -1880,7 +1880,7 @@ public $_plugin, $_args = false, $_basepage = false; - function PluginSidebarBox($name, $args = false, $basepage = false) + function __construct($name, $args = false, $basepage = false) { require_once 'lib/WikiPlugin.php'; @@ -1911,7 +1911,7 @@ // Various boxes which are no plugins class RelatedLinksBox extends SidebarBox { - function RelatedLinksBox($title = false, $body = '', $limit = 20) + function __construct($title = false, $body = '', $limit = 20) { /** * @var WikiRequest $request @@ -1938,7 +1938,7 @@ class RelatedExternalLinksBox extends SidebarBox { - function RelatedExternalLinksBox($title = false, $body = '', $limit = 20) + function __construct($title = false, $body = '', $limit = 20) { /** * @var WikiRequest $request This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |