diff --git a/core/modules/comment/comment.install b/core/modules/comment/comment.install
index e2852911deaeeb383d97d13bfdbb62404f932940..3d093fb53059dd24439b96b54fa4459149365209 100644
--- a/core/modules/comment/comment.install
+++ b/core/modules/comment/comment.install
@@ -705,7 +705,7 @@ function comment_update_8008(&$sandbox) {
  * Remove the comment_block_count variable.
  */
 function comment_update_8009() {
-  variable_del('comment_block_count');
+  update_variable_del('comment_block_count');
 }
 
 /**