diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | js/README.md | 3 | ||||
-rw-r--r-- | tests/javascript/piwik.php | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore index bbc7bd85e0..a1cd27d0cd 100644 --- a/.gitignore +++ b/.gitignore @@ -40,7 +40,6 @@ php_errors.log /.project /.settings /*.buildpath -/tests/javascript/enable_sqlite /tests/javascript/unittest.dbf /tests/javascript/unittest2.dbf /tests/lib/geoip-files/*.dat* diff --git a/js/README.md b/js/README.md index 06c7cf0ae3..d24f8d8c9d 100644 --- a/js/README.md +++ b/js/README.md @@ -48,9 +48,6 @@ The js/ folder contains: * In a production environment, the tests/javascript folder is not used and can be removed (if present). - Note: if the file "js/tests/enable_sqlite" exists, additional unit tests - (requires the sqlite extension) are enabled. - * We use /*! to include Piwik's license header in the minified source. Read Stallman's "The JavaScript Trap" for more information. diff --git a/tests/javascript/piwik.php b/tests/javascript/piwik.php index 77dbdec349..0c38317175 100644 --- a/tests/javascript/piwik.php +++ b/tests/javascript/piwik.php @@ -85,7 +85,6 @@ if (isset($_GET['requests'])) { echo "<html><head><title>$token</title></head><body>\n"; -// $result = $sqlite->query_array("SELECT uri FROM requests"); $result = @$db->fetchAll("SELECT uri FROM requests WHERE token = \"$token\" AND ua = \"$ua\" ORDER BY ts ASC, requestid ASC"); if ($result !== false) { $nofRows = count($result); |