diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php b/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php index fb598390..685e1672 100644 --- a/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php +++ b/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php | |||
@@ -69,7 +69,7 @@ class GenerateUrlHashesCommand extends ContainerAwareCommand | |||
69 | 69 | ||
70 | $i = 1; | 70 | $i = 1; |
71 | foreach ($entries as $entry) { | 71 | foreach ($entries as $entry) { |
72 | $entry->setHashedUrl(hash('md5', $entry->getUrl())); | 72 | $entry->setHashedUrl(hash('sha1', $entry->getUrl())); |
73 | $em->persist($entry); | 73 | $em->persist($entry); |
74 | 74 | ||
75 | if (0 === ($i % 20)) { | 75 | if (0 === ($i % 20)) { |