summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2010-02-04 22:55:48 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2010-02-04 22:55:48 +0000
commit13c0f4d4dadbd2915591c89614036e19261863a8 (patch)
tree4c54b547f878f8a0a6451e9b7ebba98a58c2f6c9 /contrib
parent7374c63d9c5cf35a0d6e8a939222dff5748b3a20 (diff)
downloadampache-13c0f4d4dadbd2915591c89614036e19261863a8.tar.gz
ampache-13c0f4d4dadbd2915591c89614036e19261863a8.tar.bz2
ampache-13c0f4d4dadbd2915591c89614036e19261863a8.zip
Clean up a little bit
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tests/api/AmpacheApi.lib.php3
-rw-r--r--contrib/tests/api/apitest.cfg.php.dist5
-rw-r--r--contrib/tests/api/example.php20
3 files changed, 20 insertions, 8 deletions
diff --git a/contrib/tests/api/AmpacheApi.lib.php b/contrib/tests/api/AmpacheApi.lib.php
index bbbaef0d..52bb0d2b 100644
--- a/contrib/tests/api/AmpacheApi.lib.php
+++ b/contrib/tests/api/AmpacheApi.lib.php
@@ -195,7 +195,6 @@ class AmpacheApi {
}
$data = file_get_contents($url);
-
return $data;
} // send_command
@@ -319,6 +318,4 @@ class AmpacheApi {
} // end_element
} // end AmpacheApi class
-
-
?>
diff --git a/contrib/tests/api/apitest.cfg.php.dist b/contrib/tests/api/apitest.cfg.php.dist
deleted file mode 100644
index 06275454..00000000
--- a/contrib/tests/api/apitest.cfg.php.dist
+++ /dev/null
@@ -1,5 +0,0 @@
-#<?php exit(); ?>#
-ampache_base = "/data/ampache"
-url = "http://localhost"
-username = "utest_user"
-password = "utest_user"
diff --git a/contrib/tests/api/example.php b/contrib/tests/api/example.php
index 43757fda..87dc5f38 100644
--- a/contrib/tests/api/example.php
+++ b/contrib/tests/api/example.php
@@ -1,4 +1,24 @@
<?php
+/*
+
+ Copyright (c) Ampache.org
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License v2
+ as published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+
// Require the API lib
require_once 'AmpacheApi.lib.php';