1 system.install system_update_1041()

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

Related topics

File

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

Code

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