From: <var...@us...> - 2013-04-26 13:06:23
|
Revision: 8771 http://sourceforge.net/p/phpwiki/code/8771 Author: vargenau Date: 2013-04-26 13:06:20 +0000 (Fri, 26 Apr 2013) Log Message: ----------- Add missing return Modified Paths: -------------- trunk/lib/plugin/FileInfo.php trunk/lib/plugin/FoafViewer.php trunk/lib/plugin/FrameInclude.php trunk/lib/plugin/LinkDatabase.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/PhotoAlbum.php trunk/lib/plugin/RateIt.php trunk/lib/plugin/WatchPage.php trunk/lib/plugin/WikiAdminSelect.php trunk/lib/plugin/WikiAdminUtils.php Modified: trunk/lib/plugin/FileInfo.php =================================================================== --- trunk/lib/plugin/FileInfo.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/FileInfo.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -204,6 +204,7 @@ $n -= floor($factor * $b); return number_format($b, $n ? 3 : 0) . $suffix; } + return ''; } function phonysize($a) Modified: trunk/lib/plugin/FoafViewer.php =================================================================== --- trunk/lib/plugin/FoafViewer.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/FoafViewer.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -187,6 +187,7 @@ return $html; } } + return ''; } /** Modified: trunk/lib/plugin/FrameInclude.php =================================================================== --- trunk/lib/plugin/FrameInclude.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/FrameInclude.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -145,6 +145,7 @@ $request->discardOutput(); displayPage($request, new Template('frameset', $request, $tokens)); $request->finish(); //noreturn + return ''; } } Modified: trunk/lib/plugin/LinkDatabase.php =================================================================== --- trunk/lib/plugin/LinkDatabase.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/LinkDatabase.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -183,6 +183,7 @@ } else { return $this->error(fmt("Unsupported format argument %s", $args['format'])); } + return ''; } } Modified: trunk/lib/plugin/ModeratedPage.php =================================================================== --- trunk/lib/plugin/ModeratedPage.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/ModeratedPage.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -323,6 +323,7 @@ } else { return $this->approval_form($request, $args, $moderation, 'approve'); } + return ''; } /** @@ -337,6 +338,7 @@ } else { return $this->approval_form($request, $args, $moderation, 'reject'); } + return ''; } function cleanup_and_notify(&$request, $args, &$moderation) Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/PhotoAlbum.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -549,6 +549,7 @@ } $photos[] = array("name" => $src, //album_location."/$src".album_default_extension, "desc" => ""); + return ''; } /** @@ -668,6 +669,7 @@ "name_tile" => dirname($src) . "/" . trim($data[0])); } } + return ''; } } Modified: trunk/lib/plugin/RateIt.php =================================================================== --- trunk/lib/plugin/RateIt.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/RateIt.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -288,6 +288,7 @@ } return $html; } + return HTML::raw(); } // box is used to display a fixed-width, narrow version with common header Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/WatchPage.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -169,6 +169,7 @@ } } } + return ''; } } Modified: trunk/lib/plugin/WikiAdminSelect.php =================================================================== --- trunk/lib/plugin/WikiAdminSelect.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/WikiAdminSelect.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -232,6 +232,7 @@ } else { ; //return $action_result; } + return ''; } protected function tablePush(&$table, $first, $second) Modified: trunk/lib/plugin/WikiAdminUtils.php =================================================================== --- trunk/lib/plugin/WikiAdminUtils.php 2013-04-26 12:48:14 UTC (rev 8770) +++ trunk/lib/plugin/WikiAdminUtils.php 2013-04-26 13:06:20 UTC (rev 8771) @@ -108,6 +108,7 @@ $message, array(_("Back") => $args['return_url'])); $alert->show(); // noreturn + return ''; } private function _getLabel($action) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |