com web/php: Fix redundant code: include/layout.inc usage.php
| From: | Paul Dragoonis | 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-22859@lists.php.net to get a copy of this message | ||
Commit: 92fc13d2cf5ee831622d9b563a10676a84926da0
Author: Rasmus Lerdorf <rasmus@php.net> Sat, 27 Apr 2013 22:37:00 -0700
Parents: 823fc15038f4691c26e87102bad742e367aa2a18
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=92fc13d2cf5ee831622d9b563a10676a84926da0
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>