summaryrefslogtreecommitdiffstats
path: root/lib/debug.lib.php
diff options
context:
space:
mode:
authordipsol <dipsol@ampache>2009-12-14 08:06:20 +0000
committerdipsol <dipsol@ampache>2009-12-14 08:06:20 +0000
commita7838e2a13cf2f8875a34e122c44c9c923648bc6 (patch)
treea2c3a11be556358a59d38c260a1b40ce7c79dae0 /lib/debug.lib.php
parent9b3232ba299fbbe6bec922bf7034c005175c9365 (diff)
downloadampache-a7838e2a13cf2f8875a34e122c44c9c923648bc6.tar.gz
ampache-a7838e2a13cf2f8875a34e122c44c9c923648bc6.tar.bz2
ampache-a7838e2a13cf2f8875a34e122c44c9c923648bc6.zip
Replaced almost every dba::query to dba::read or dba::write.
Diffstat (limited to 'lib/debug.lib.php')
-rw-r--r--lib/debug.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php
index 365bebe1..1e65b806 100644
--- a/lib/debug.lib.php
+++ b/lib/debug.lib.php
@@ -54,7 +54,7 @@ function check_database($host,$username,$pass) {
function check_database_inserted($dbh,$db_name) {
$sql = "DESCRIBE session";
- $db_results = Dba::query($sql);
+ $db_results = Dba::read($sql);
if (!$db_results) {
return false;