com web/master: Drop some unused functions: include/functions.inc
| From: | Maciej Sobaczewski | Date: | Sun, 19 Apr 2020 00:08:04 +0000 |
| Subject: | com web/master: Drop some unused functions: include/functions.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28593@lists.php.net to get a copy of this message | ||
Commit: eb0d668b71abbd10bfb59645fa13b2b94d49573b
Author: Sobak <msobaczewski@gmail.com> Sun, 19 Apr 2020 02:08:04 +0200
Parents: 54328e85c23e296dfd79f62a0d032fd1586c9c83
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=eb0d668b71abbd10bfb59645fa13b2b94d49573b
Log:
Drop some unused functions
Changed paths:
M include/functions.inc
Diff:
diff --git a/include/functions.inc b/include/functions.inc
index 9694877..882f767 100644
--- a/include/functions.inc
+++ b/include/functions.inc
@@ -212,25 +212,6 @@ function is_sqlite_type_available($avails, $check) {
return false;
}
-function decipher_available_sqlites($avails) {
-
- $all = [1 => 'sqlite', 2 => 'sqlite3', 4 =>
'pdo_sqlite', 8 => 'pdo_sqlite2'];
- $mine = [];
- $avails = (int) $avails;
-
- if (($avails & 15) === 15) {
- return $all;
- }
-
- foreach ($all as $bit => $name) {
- if (($avails & $bit) === $bit) {
- $mine[$bit] = $name;
- }
- }
-
- return $mine;
-}
-
function verify_ssh_keys($string) {
return count(get_ssh_keys($string)) > 0;
}
@@ -247,10 +228,6 @@ function get_ssh_keys($string) {
return $results;
}
-function unmangle($var_name,$filter_id=FILTER_UNSAFE_RAW) {
- return real_clean(filter_var($var_name,$filter_id));
-}
-
// We use markdown for people profiles
include_once dirname(__FILE__) . '/../vendor/michelf/php-markdown-extra/markdown.php';