From: <var...@us...> - 2014-09-10 14:42:10
|
Revision: 9065 http://sourceforge.net/p/phpwiki/code/9065 Author: vargenau Date: 2014-09-10 14:42:07 +0000 (Wed, 10 Sep 2014) Log Message: ----------- Same signature for all functions run Modified Paths: -------------- trunk/lib/plugin/AllPages.php trunk/lib/plugin/CategoryPage.php trunk/lib/plugin/CreateBib.php trunk/lib/plugin/JabberPresence.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/LinkDatabase.php Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2014-09-10 14:21:54 UTC (rev 9064) +++ trunk/lib/plugin/AllPages.php 2014-09-10 14:42:07 UTC (rev 9065) @@ -54,8 +54,7 @@ // exclude arg allows multiple pagenames exclude=HomePage,RecentChanges // sortby: [+|-] pagename|mtime|hits - // 2004-07-08 22:05:35 rurban: turned off &$request to prevent from strange bug below - function run($dbi, $argstr, $request, $basepage) + function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); Modified: trunk/lib/plugin/CategoryPage.php =================================================================== --- trunk/lib/plugin/CategoryPage.php 2014-09-10 14:21:54 UTC (rev 9064) +++ trunk/lib/plugin/CategoryPage.php 2014-09-10 14:42:07 UTC (rev 9065) @@ -56,7 +56,7 @@ 'showbuds' => false); } - function run($dbi, $argstr, &$request) + function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); Modified: trunk/lib/plugin/CreateBib.php =================================================================== --- trunk/lib/plugin/CreateBib.php 2014-09-10 14:21:54 UTC (rev 9064) +++ trunk/lib/plugin/CreateBib.php 2014-09-10 14:42:07 UTC (rev 9065) @@ -96,7 +96,7 @@ } - function run($dbi, $argstr, $request, $basepage) + function run($dbi, $argstr, &$request, $basepage) { extract($this->getArgs($argstr, $request)); if ($pagename) { Modified: trunk/lib/plugin/JabberPresence.php =================================================================== --- trunk/lib/plugin/JabberPresence.php 2014-09-10 14:21:54 UTC (rev 9064) +++ trunk/lib/plugin/JabberPresence.php 2014-09-10 14:42:07 UTC (rev 9065) @@ -52,7 +52,7 @@ 'iconset' => "gabber"); } - function run($dbi, $argstr, $request) + function run($dbi, $argstr, &$request, $basepage) { extract($this->getArgs($argstr, $request)); // Any text that is returned will not be further transformed, Modified: trunk/lib/plugin/LdapSearch.php =================================================================== --- trunk/lib/plugin/LdapSearch.php 2014-09-10 14:21:54 UTC (rev 9064) +++ trunk/lib/plugin/LdapSearch.php 2014-09-10 14:42:07 UTC (rev 9065) @@ -69,7 +69,7 @@ // I ought to require the ldap extension, but fail sanely, if I cant get it. // - however at the moment this seems to work as is - function run($dbi, $argstr, $request) + function run($dbi, $argstr, &$request, $basepage) { if (!function_exists('ldap_connect')) { if (!loadPhpExtension('ldap')) Modified: trunk/lib/plugin/LinkDatabase.php =================================================================== --- trunk/lib/plugin/LinkDatabase.php 2014-09-10 14:21:54 UTC (rev 9064) +++ trunk/lib/plugin/LinkDatabase.php 2014-09-10 14:42:07 UTC (rev 9065) @@ -72,7 +72,7 @@ $this->run($dbi, WikiPluginCached::glueArgs($argarray), $request, $basepage); } - function run($dbi, $argstr, $request, $basepage) + function run($dbi, $argstr, &$request, $basepage) { global $WikiTheme; $args = $this->getArgs($argstr, $request); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |