]> git.mxchange.org Git - hub.git/commitdiff
Renamed to avoid confusion
authorRoland Häder <roland@mxchange.org>
Fri, 9 Nov 2012 19:16:31 +0000 (19:16 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 9 Nov 2012 19:16:31 +0000 (19:16 +0000)
application/hub/main/package/class_NetworkPackage.php

index e060c32f9238c09f7145a067fb9d75f5e0c4ed19..bf07071e0b1b75520c34dd2b877286aa1de29f97 100644 (file)
@@ -596,7 +596,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
                $content = $this->getCompressorInstance()->compressStream($content);
 
                // Add magic in front of it and hash behind it, including BASE64 encoding
-               $content = sprintf(self::PACKAGE_MASK,
+               $packageContent = sprintf(self::PACKAGE_MASK,
                        // 1.) Compressor's extension
                        $this->getCompressorInstance()->getCompressorExtension(),
                        // - separator
@@ -618,9 +618,9 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
                        self::PACKAGE_DATA_SENDER    => $this->getSessionId(),
                        self::PACKAGE_DATA_RECIPIENT => $helperInstance->getRecipientType(),
                        self::PACKAGE_DATA_PROTOCOL  => $protocolName,
-                       self::PACKAGE_DATA_CONTENT   => $content,
+                       self::PACKAGE_DATA_CONTENT   => $packageContent,
                        self::PACKAGE_DATA_STATUS    => self::PACKAGE_STATUS_NEW,
-                       self::PACKAGE_DATA_SIGNATURE => $this->generatePackageSignature($content, $this->getSessionId())
+                       self::PACKAGE_DATA_SIGNATURE => $this->generatePackageSignature($packageContent, $this->getSessionId())
                ));
        }