summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/debug.lib.php14
-rw-r--r--templates/show_install_check.inc.php13
-rw-r--r--templates/show_test.inc.php17
3 files changed, 0 insertions, 44 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php
index aca6c27a..f1c5dbcc 100644
--- a/lib/debug.lib.php
+++ b/lib/debug.lib.php
@@ -44,20 +44,6 @@ function check_php_ver($level=0) {
} // check_php_ver
/**
- * check_php_mysql
- * checks for mysql support by looking for the mysql_query function
- */
-function check_php_mysql() {
-
- if (!function_exists('mysql_query')) {
- return false;
- }
-
- return true;
-
-} // check_php_mysql
-
-/**
* check_php_session
* checks to make sure the needed functions
* for sessions exist
diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php
index 88ce8c62..6b6e7247 100644
--- a/templates/show_install_check.inc.php
+++ b/templates/show_install_check.inc.php
@@ -73,19 +73,6 @@
?>
</td>
</tr><tr>
-<td><?php echo T_('PHP MySQL Support'); ?>:</td>
-<td>
-<?php
- if (!check_php_mysql()) {
- echo debug_result('',false);
- Error::add('install', T_('PHP MySQL Support'));
- }
- else {
- echo debug_result(Dba::get_client_info(), true);
- }
-?>
-</td>
-</tr><tr>
<td><?php echo T_('PHP Session Support'); ?>:</td>
<td>
<?php
diff --git a/templates/show_test.inc.php b/templates/show_test.inc.php
index 17fedb6f..fcd6c703 100644
--- a/templates/show_test.inc.php
+++ b/templates/show_test.inc.php
@@ -62,23 +62,6 @@
</td>
</tr>
<tr>
- <td valign="top"><?php echo T_('PHP MySQL extension'); ?></td>
- <td valign="top">[
- <?php
- if (!check_php_mysql()) {
- echo debug_result('',false);
- }
- else {
- echo debug_result('',true);
- }
- ?>
- ]
- </td>
- <td>
- <?php echo T_('This tests whether you have the mysql extension enabled. This extension is required by Ampache.'); ?>
- </td>
-</tr>
-<tr>
<td valign="top"><?php echo T_('PHP session extension'); ?></td>
<td valign="top">[
<?php