summaryrefslogtreecommitdiff
path: root/src/HTTP_POST_multipart.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-05-09 19:19:21 +0000
committeruckelman <uckelman@nomic.net>2010-05-09 19:19:21 +0000
commit2223ec1cabbb3c8788ff7087da53ab214232d649 (patch)
tree0df854553cb15cfd445d6a6a680a9d6ecc3c1ea9 /src/HTTP_POST_multipart.php
parentb31aa09aad360733c7b1141d52639208fcd1e8c3 (diff)
buildPost is static.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6831 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/HTTP_POST_multipart.php')
-rw-r--r--src/HTTP_POST_multipart.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/HTTP_POST_multipart.php b/src/HTTP_POST_multipart.php
index 64689bf..4b24a4a 100644
--- a/src/HTTP_POST_multipart.php
+++ b/src/HTTP_POST_multipart.php
@@ -122,13 +122,12 @@ class HTTP_POST_multipart {
}
public function dump() {
- list(/* skip */, $content) = buildPost($this->_parts);
+ list(/* skip */, $content) = self::buildPost($this->_parts);
return $content;
}
public function post($url) {
-
- list($boundary, $content) = buildPost($this->_parts);
+ list($boundary, $content) = self::buildPost($this->_parts);
$ctype = 'Content-Type: multipart/form-data; boundary="' . $boundary . '"';
$ctx = stream_context_create(