1 system.install system_update_1042()

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

Related topics


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


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