diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc
index 2e55fc3..fbad0ca 100644
--- a/core/modules/system/system.admin.inc
+++ b/core/modules/system/system.admin.inc
@@ -1595,7 +1595,7 @@ function system_cron_settings($form, &$form_state) {
     'name' => 'system.cron',
     'path' => 'cron_safe_threshold',
   );
- 
+
   $form['submit'] = array('#type' => 'submit', '#value' => t('Save configuration'));
   return $form;
 }
@@ -1607,9 +1607,9 @@ function system_cron_settings($form, &$form_state) {
  * @see system_settings_form()
  */
 function system_cron_settings_submit($form, &$form_state) {
-  $config = config('system.cron');
-  $config->set('cron_safe_threshold', $form_state['values']['cron_safe_threshold']);
-  $config->save();
+  config('system.cron')
+    ->set('cron_safe_threshold', $form_state['values']['cron_safe_threshold'])
+    ->save();
   drupal_set_message(t('The configuration options have been saved.'));
 }
 
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 4c6c26b..68b3573 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -284,7 +284,7 @@ function system_requirements($phase) {
     }
 
     $description .= ' ' . $t('You can <a href="@cron">run cron manually</a>.', array('@cron' => url('admin/reports/status/run-cron')));
-    $description .= '<br />' . $t('To run cron from outside the site, go to <a href="!cron">!cron</a>', array('!cron' => url($base_url . '/core/cron.php', array('external' => TRUE, 'query' => array('cron_key' => config('system.cron')->get('cron_key'))))));
+    $description .= '<br />' . $t('To run cron from outside the site, go to <a href="!cron">!cron</a>', array('!cron' => url($base_url . '/core/cron.php', array('external' => TRUE, 'query' => array('cron_key' => $config->get('cron_key'))))));
 
     $requirements['cron'] = array(
       'title' => $t('Cron maintenance tasks'),
@@ -1854,7 +1854,7 @@ function system_update_8007() {
 /**
  * Moves cron system settings from variable to config.
  */
-function system_update_8006() {
+function system_update_8008() {
   update_variables_to_config('system.cron');
 }
 
