com web/php: Fix redundant code: include/layout.inc usage.php

From: Date: Sun, 28 Apr 2013 05:37:00 +0000
Subject: com web/php: Fix redundant code: include/layout.inc usage.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-15789@lists.php.net to get a copy of this message
Commit: 48d539e898b5a5c4d35fc2a7c11432c4f9e5e454 Author: Rasmus Lerdorf <rasmus@php.net> Sat, 27 Apr 2013 22:37:00 -0700 Parents: 9902d4b227c593e5dd6412ca27a3ca63f9ca1b03 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=48d539e898b5a5c4d35fc2a7c11432c4f9e5e454 Log: Fix redundant code Changed paths: M include/layout.inc M usage.php Diff: diff --git a/include/layout.inc b/include/layout.inc index c439e90..511ff4f 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -416,7 +416,6 @@ function make_image($file, $alt = FALSE, $align = FALSE, $extras = FALSE, $align, ($extras ? ' ' . $extras : '') ); - return $image; } // Print an <img /> tag out for a given file diff --git a/usage.php b/usage.php index 475df7f..b938af3 100644 --- a/usage.php +++ b/usage.php @@ -13,7 +13,7 @@ Source: <a href="http://news.netcraft.com/archives/2013/01/31/php-just-grows-gro </p> <p> -<?php echo print_image("stats/php-trend-201301-netcraft..png", "Graph"); ?> +<?php print_image("stats/php-trend-201301-netcraft.png", "Graph"); ?> </p> <p>

« previous php.webmaster (#15789) next »