]> git.mxchange.org Git - friendica-addons.git/blobdiff - diaspora/Diaspora_Connection.php
audon/lang/C/messages.po hinzugefĆ¼gt
[friendica-addons.git] / diaspora / Diaspora_Connection.php
index a33bf608950f1ef8a4f9b6d546dc1d8d8103d595..d8390d707b965a8bb29c59179e6229a4ad0ec97f 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+
+use Friendica\Core\System;
+
 /**
  * Super-skeletal class to interact with Diaspora.
  *
@@ -29,7 +32,7 @@ class Diaspora_Connection {
                        $this->setPassword($password);
                }
 
-               $this->cookiejar = tempnam(get_temppath(), 'cookies');
+               $this->cookiejar = tempnam(System::getTempPath(), 'cookies');
                return $this;
        }