mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
use hashed guids in a hopefully backwards compatible fashion
This commit is contained in:
@@ -88,7 +88,7 @@ class Article extends Handler_Protected {
|
||||
static function create_published_article($link, $title, $url, $content, $labels_str,
|
||||
$owner_uid) {
|
||||
|
||||
$guid = sha1($url . $owner_uid); // include owner_uid to prevent global GUID clash
|
||||
$guid = 'SHA1:' . sha1("ttshared:" . $url . $owner_uid); // include owner_uid to prevent global GUID clash
|
||||
$content_hash = sha1($content);
|
||||
|
||||
if ($labels_str != "") {
|
||||
|
||||
Reference in New Issue
Block a user