Standards
This commit is contained in:
+1
-1
@@ -338,7 +338,7 @@ class Item
|
||||
* @param string $host (Optional) hostname for the GUID prefix
|
||||
* @return string unique guid
|
||||
*/
|
||||
public static function GuidFromUri($uri, $host = "")
|
||||
public static function guidFromUri($uri, $host = "")
|
||||
{
|
||||
// Our regular guid routine is using this kind of prefix as well
|
||||
// We have to avoid that different routines could accidentally create the same value
|
||||
|
||||
@@ -427,7 +427,7 @@ class Feed {
|
||||
// Distributed items should have a well formatted URI.
|
||||
// Additionally we have to avoid conflicts with identical URI between imported feeds and these items.
|
||||
if ($notify) {
|
||||
$item['guid'] = Item::GuidFromUri($orig_plink, $a->get_hostname());
|
||||
$item['guid'] = Item::guidFromUri($orig_plink, $a->get_hostname());
|
||||
unset($item['uri']);
|
||||
unset($item['parent-uri']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user