summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2016-09-14 18:15:05 +0200
committerDamien Regad <dregad@mantisbt.org>2016-10-11 12:38:32 +0200
commit376249c45f9e51e327ab0af22e9bfc9918abc0b4 (patch)
tree0790857b05a518bdc4708facb0477f424c125089 /tests
parent0f4217eda802ab5f9fdab50323ed302df650b100 (diff)
downloadadodb-376249c45f9e51e327ab0af22e9bfc9918abc0b4.tar.gz
adodb-376249c45f9e51e327ab0af22e9bfc9918abc0b4.tar.bz2
adodb-376249c45f9e51e327ab0af22e9bfc9918abc0b4.zip
Remove references to ADOdb Extension
The ADOdb Extension's development stopped at version 5.04. It is no longer maintained or supported, yet the library still contains code referencing it. If those code branches are executed, ADOdb will not perform properly, due to missing constant declarations (among other things). This commit removes all references to the Extension. Fixes #270, #269
Diffstat (limited to 'tests')
-rw-r--r--tests/test.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/test.php b/tests/test.php
index e2c50fdc..e2910bf1 100644
--- a/tests/test.php
+++ b/tests/test.php
@@ -40,13 +40,9 @@ function Err($msg)
function CheckWS($conn)
{
-global $ADODB_EXTENSION;
-
include_once('../session/adodb-session.php');
if (defined('CHECKWSFAIL')){ echo " TESTING $conn ";flush();}
- $saved = $ADODB_EXTENSION;
$db = ADONewConnection($conn);
- $ADODB_EXTENSION = $saved;
if (headers_sent()) {
print "<p><b>White space detected in adodb-$conn.inc.php or include file...</b></p>";
//die();
@@ -125,12 +121,10 @@ FROM `nuke_stories` `t1`, `nuke_authors` `t2`, `nuke_stories_cat` `t3`, `nuke_to
//print $db->UnixTimeStamp('2003-7-22 23:00:00');
$phpv = phpversion();
- if (defined('ADODB_EXTENSION')) $ext = ' &nbsp; Extension '.ADODB_EXTENSION.' installed';
- else $ext = '';
print "<h3>ADODB Version: $ADODB_vers";
print "<p>Host: <i>$db->host</i>";
print "<br>Database: <i>$db->database</i>";
- print "<br>PHP: <i>$phpv $ext</i></h3>";
+ print "<br>PHP: <i>$phpv</i></h3>";
flush();