Fix for method in FrameworkConfiguration, removal of unneccessary code
[core.git] / inc / classes / third_party / api / primusportal / class_PrimeraApi.php
index 1f7036e935da2eff22abf71c1bb44e64ef931463..5e65150063802f4708ace184a2f5a763dfe9d173 100644 (file)
@@ -125,17 +125,13 @@ class PrimeraApi extends BaseFrameworkSystem {
                // Call parent constructor
                parent::__construct();
 
-               // Clean up a little
-               $this->removeSystemArray();
-               $this->removeNumberFormaters();
-
                // Set data (DEPRECATED!)
                $this->username = $PPUsername;
                $this->password = $PPPassword;
        }
 
        /**
-        * Anfrage senden und Rückgabecode in Variable speichern
+        * Anfrage senden und Rueckgabecode in Variable speichern
         */
        function queryApi ( $data = array() ) {
                $fp = fsockopen($this->host, 80, $this->errno, $this->_err);
@@ -144,7 +140,7 @@ class PrimeraApi extends BaseFrameworkSystem {
                $data["PrimusInterface_Username"] = base64_encode($this->username);
                $data["PrimusInterface_Password"] = base64_encode(md5($this->password));
 
-               // POST-Daten übermitteln:
+               // POST-Daten uebermitteln:
                $data = http_build_query($data, '', '&');
 
                fputs($fp, "POST {$this->path}HTTP/1.1\r\n");