Commit e037d80b authored by catch's avatar catch
Browse files

Issue #1341186 by ericduran, Rob Loach: Remove deprecated Library names.

parent 6630a4eb
......@@ -241,7 +241,7 @@ function common_test_library_info_alter(&$libraries, $module) {
// Change the title of Farbtastic to "Farbtastic: Altered Library".
$libraries['farbtastic']['title'] = 'Farbtastic: Altered Library';
// Make Farbtastic depend on jQuery Form to test library dependencies.
$libraries['farbtastic']['dependencies'][] = array('system', 'form');
$libraries['farbtastic']['dependencies'][] = array('system', 'jquery.form');
}
}
......
......@@ -1652,15 +1652,6 @@ function system_library_info() {
),
);
// These library names are deprecated. Earlier versions of Drupal 7 didn't
// consistently namespace their libraries, so these names are included for
// backwards compatibility with those versions.
$libraries['once'] = &$libraries['jquery.once'];
$libraries['form'] = &$libraries['jquery.form'];
$libraries['jquery-bbq'] = &$libraries['jquery.bbq'];
$libraries['vertical-tabs'] = &$libraries['drupal.vertical-tabs'];
$libraries['cookie'] = &$libraries['jquery.cookie'];
return $libraries;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment