farmOS is a web-based application for farm management, planning, and record keeping. It is developed by a community of volunteers and aims to provide a standard platform for farmers, developers, and researchers to build upon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
567 B

<?php
/**
* @file
* farmOS installation profile.
*/
/**
* Implements hook_form_BASE_FORM_ID_alter().
*/
function farm_form_update_manager_update_form_alter(&$form, &$form_state, $form_id) {
// Disable updating through the UI.
// @see https://www.drupal.org/project/farm/issues/3136140
drupal_set_message(t('Performing updates through this interface is disabled by farmOS. For information about updating farmOS, see <a href="!url">!url</a>.', array('!url' => 'https://v1.farmOS.org/hosting/updating')), 'error');
$form['actions']['#access'] = FALSE;
}