summaryrefslogtreecommitdiffstats
path: root/lib/class/xmldata.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-11-29 16:48:12 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-11-29 16:48:12 +0000
commit73809f0c1dd345e572b2cea9503454f3a1bb2a12 (patch)
treecd53bb3ae4354a313880cddc12c94d79c2006685 /lib/class/xmldata.class.php
parent56fa0e31ad67ea337fd8c575ddf6e80094454eb8 (diff)
downloadampache-73809f0c1dd345e572b2cea9503454f3a1bb2a12.tar.gz
ampache-73809f0c1dd345e572b2cea9503454f3a1bb2a12.tar.bz2
ampache-73809f0c1dd345e572b2cea9503454f3a1bb2a12.zip
improved error messages for api, includes additional information on handshake failure, also translate the errors
Diffstat (limited to 'lib/class/xmldata.class.php')
-rw-r--r--lib/class/xmldata.class.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/class/xmldata.class.php b/lib/class/xmldata.class.php
index a22805c8..5a1e89bb 100644
--- a/lib/class/xmldata.class.php
+++ b/lib/class/xmldata.class.php
@@ -71,7 +71,6 @@ class xmlData {
* nothing fancy here...
*/
public static function error($code,$string) {
-
$string = self::_header() . "\t<error code=\"$code\"><![CDATA[$string]]></error>" . self::_footer();
return $string;