com web/qa: Remove unused make_link() function: inc lude/functions.php
| From: | Sara Golemon | Date: | Fri, 24 Aug 2018 21:25:36 +0000 |
| Subject: | com web/qa: Remove unused make_link() function: inc lude/functions.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-68173@lists.php.net to get a copy of this message | ||
Commit: b5d67007fbd8a13ea88eb4ebad9ae39b94bf7f8d
Author: Sara Golemon <pollita@php.net> Fri, 24 Aug 2018 17:25:36 -0400
Parents: dce0a011bb3adcf2065dee29fc05b6561f5d0805
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=b5d67007fbd8a13ea88eb4ebad9ae39b94bf7f8d
Log:
Remove unused make_link() function
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index 2566af2..fe0e03a 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -26,14 +26,6 @@ function common_footer($JS = array()) {
include __DIR__ . "/../shared/templates/footer.inc";
}
-function make_link($string, $text = "", $target = "") {
- $buffer = "<a href=\"$string\"";
- if ($target!="") $buffer .= " target=\"$target\">"; else $buffer
.= ">";
- if ($text!="") $buffer .= "$text"; else $buffer .= "$string";
- $buffer .= "</a>";
- return $buffer;
-}
-
function is_valid_php_version($version, $QA_RELEASES = array()) {
if (isset($QA_RELEASES['reported']) && in_array($version,
$QA_RELEASES['reported'])) {