1 system.install system_update_1044()

Notify administrators if a non-core version of the Date module is present.

Related topics

File

core/modules/system/system.install, line 2802
Install, update and uninstall functions for the system module.

Code

function system_update_1044() {
  $path = backdrop_get_path('module', 'date');
  if ($path && strpos($path, 'core/modules/date') === FALSE) {
    backdrop_set_message(t('Backdrop core now provides a bundled Date module. A different copy of Date module has been located at %path. Remove this module from your installation to use new Date module. For more information see the <a href="https://docs.backdropcms.org/node/43066" target="_blank">Date change notice</a>.', array('%path' => BACKDROP_ROOT . '/' . $path)), 'warning');
  }
}