diff options
author | Andrew Dolgov <[email protected]> | 2013-04-15 19:28:11 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-15 19:28:11 +0400 |
commit | 5e3d5480f7e154a897363770327001fe1b72f504 (patch) | |
tree | 79d45c47d50d1f8b21e5a76ed3ddaf72f42b923b /classes/article.php | |
parent | bc7a144dd589302025c3b024d6da71f2e53d6496 (diff) |
use hashed guids in a hopefully backwards compatible fashion
Diffstat (limited to 'classes/article.php')
-rw-r--r-- | classes/article.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/article.php b/classes/article.php index 9a0970140..f31a225d1 100644 --- a/classes/article.php +++ b/classes/article.php @@ -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 != "") { |