]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Item.php
Tests ...
[friendica.git] / src / Model / Item.php
index 297506176aa500010d892c5fa6f0d35c2ecf8994..923d72c11bcd37cf7955897553759bc9c93d2d45 100644 (file)
@@ -366,7 +366,7 @@ class Item
        public static function guid($item, $notify)
        {
                if (!empty($item['guid'])) {
-                       return Strings::escapeTags(trim($item['guid']));
+                       return trim($item['guid']);
                }
 
                if ($notify) {
@@ -448,7 +448,7 @@ class Item
                // We use "microtime" to keep the arrival order and "mt_rand" to avoid duplicates
                $file = 'item-' . round(microtime(true) * 10000) . '-' . mt_rand() . '.msg';
 
-               $spoolpath = get_spoolpath();
+               $spoolpath = System::getSpoolPath();
                if ($spoolpath != "") {
                        $spool = $spoolpath . '/' . $file;