summaryrefslogtreecommitdiff
path: root/static/classes
diff options
context:
space:
mode:
Diffstat (limited to 'static/classes')
-rwxr-xr-xstatic/classes/Response.class.php4
-rw-r--r--static/classes/UploadedFile.class.php1
2 files changed, 2 insertions, 3 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php
index 9d0c80e..3afcfdb 100755
--- a/static/classes/Response.class.php
+++ b/static/classes/Response.class.php
@@ -130,7 +130,7 @@ class Response
return POMF_URL.$files[0]['url'];
}
- private static function txt_error($code, $description)
+ private static function text_error($code, $description)
{
return 'ERROR: ('.$code.') '.$description;
}
@@ -146,7 +146,7 @@ class Response
private static function html_error($code, $description)
{
- return 'ERROR: ('.$code.') '.$description;
+ return '<p>ERROR: ('.$code.') '.$description.'</p>';
}
private static function html_success($files)
diff --git a/static/classes/UploadedFile.class.php b/static/classes/UploadedFile.class.php
index 74ed5c9..ac39646 100644
--- a/static/classes/UploadedFile.class.php
+++ b/static/classes/UploadedFile.class.php
@@ -33,7 +33,6 @@ class UploadedFile
/* Cached checksums */
private $sha1;
- private $crc32;
/**
* Generates the SHA1 or returns the cached SHA1 hash for the file.