[Fusionforge-commits] r18436 - in trunk/src/common: include tracker/actions

Marc-Etienne VARGENAU vargenau at fusionforge.org
Sun Nov 10 21:45:35 CET 2013


Author: vargenau
Date: 2013-11-10 21:45:35 +0100 (Sun, 10 Nov 2013)
New Revision: 18436

Modified:
   trunk/src/common/include/session.php
   trunk/src/common/tracker/actions/browse.php
   trunk/src/common/tracker/actions/detail.php
   trunk/src/common/tracker/actions/mod-limited.php
   trunk/src/common/tracker/actions/mod.php
Log:
Do not use void function result

Modified: trunk/src/common/include/session.php
===================================================================
--- trunk/src/common/include/session.php	2013-11-10 20:41:42 UTC (rev 18435)
+++ trunk/src/common/include/session.php	2013-11-10 20:45:35 UTC (rev 18436)
@@ -375,7 +375,7 @@
  *	@param	int		$expiration	Expiration time in UNIX seconds (default 0)
  */
 function session_set_cookie($name, $value, $domain='', $expiration=0) {
-	return session_cookie($name, $value, $domain, $expiration);
+	session_cookie($name, $value, $domain, $expiration);
 }
 function session_cookie($name, $value, $domain='', $expiration=0) {
 	if (php_sapi_name() == 'cli') {

Modified: trunk/src/common/tracker/actions/browse.php
===================================================================
--- trunk/src/common/tracker/actions/browse.php	2013-11-10 20:41:42 UTC (rev 18435)
+++ trunk/src/common/tracker/actions/browse.php	2013-11-10 20:45:35 UTC (rev 18436)
@@ -735,7 +735,7 @@
 	$ath->renderExtraFields($sel,true,_('No Change'),false,'', array(ARTIFACT_EXTRAFIELD_FILTER_INT),true);
 		echo   '<tr>
 			<td><strong>'._('Priority').':</strong><br />';
-		echo build_priority_select_box ('priority', '100', true);
+		build_priority_select_box ('priority', '100', true);
 		echo '</td><td>';
 
 		echo '</td>

Modified: trunk/src/common/tracker/actions/detail.php
===================================================================
--- trunk/src/common/tracker/actions/detail.php	2013-11-10 20:41:42 UTC (rev 18435)
+++ trunk/src/common/tracker/actions/detail.php	2013-11-10 20:45:35 UTC (rev 18436)
@@ -122,7 +122,7 @@
 		</td></tr>
 		<tr><td colspan="2">
 		<h2><?php echo _('Followups: ') ; ?></h2>
-		<?php echo $ah->showMessages(); ?>
+		<?php $ah->showMessages(); ?>
 		</td></tr>
 </table>
 </div>

Modified: trunk/src/common/tracker/actions/mod-limited.php
===================================================================
--- trunk/src/common/tracker/actions/mod-limited.php	2013-11-10 20:41:42 UTC (rev 18435)
+++ trunk/src/common/tracker/actions/mod-limited.php	2013-11-10 20:45:35 UTC (rev 18436)
@@ -147,7 +147,7 @@
 	</tr>
 	<tr><td colspan="2">
 		<br />
-		<?php echo $ah->showDetails(); ?>
+		<?php $ah->showDetails(); ?>
 	</td></tr>
 </table>
 <div id="tabber" class="tabber">
@@ -163,7 +163,7 @@
 		<p>
 		<h2><?php echo _('Followups: ') ;
 echo '</h2>';
-echo $ah->showMessages();
+$ah->showMessages();
 		?>
 	</td></tr>
 </table>

Modified: trunk/src/common/tracker/actions/mod.php
===================================================================
--- trunk/src/common/tracker/actions/mod.php	2013-11-10 20:41:42 UTC (rev 18435)
+++ trunk/src/common/tracker/actions/mod.php	2013-11-10 20:45:35 UTC (rev 18436)
@@ -217,7 +217,7 @@
 		<textarea id="tracker-comment" name="details" rows="7" cols="60" title="<?php echo util_html_secure(html_get_tooltip_description('comment')) ?>"></textarea></p>
 		<h2><?php echo _('Followups: ') ;
 echo '</h2>';
-echo $ah->showMessages();
+$ah->showMessages();
 		?>
 	</td></tr>
 </table>




More information about the Fusionforge-commits mailing list