diff -u b/core/modules/comment/comment.module b/core/modules/comment/comment.module --- b/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -1918,7 +1918,6 @@ $comment->name = check_plain($account->name); $comment->signature = $account->signature; $comment->signature_format = $account->signature_format; - $comment->picture = $account->picture; } elseif (empty($comment->name)) { $comment->name = variable_get('anonymous', t('Anonymous')); diff -u b/core/modules/user/user.install b/core/modules/user/user.install --- b/core/modules/user/user.install +++ b/core/modules/user/user.install @@ -439,7 +439,7 @@ // {file_managed}, {file_usage}, and the filesystem. if (!module_exists('image')) { $sandbox['total'] = 0; - $sandbox['#finished'] = 1; + $sandbox['processed'] = 0; } // Initialize total values to process. if (!isset($sandbox['total'])) { @@ -477,8 +477,8 @@ // Report status. $sandbox['processed'] += count($results); - $sandbox['#finished'] = $sandbox['total'] ? $sandbox['processed'] / $sandbox['total'] : 1; } + $sandbox['#finished'] = $sandbox['total'] ? $sandbox['processed'] / $sandbox['total'] : 1; // Delete {users}.picture after processing all values. if ($sandbox['#finished'] == 1) {