Commit 83e7250b authored by Dries's avatar Dries

- Patch #89454 by chx: made deleting a locale language work.

parent a911066a
......@@ -319,9 +319,8 @@ function locale_admin_manage() {
/**
* User interface for the language deletion confirmation screen.
*/
function locale_admin_manage_delete_form() {
function locale_admin_manage_delete_form($langcode) {
include_once './includes/locale.inc';
$langcode = arg(4);
// Do not allow deletion of English locale.
if ($langcode == 'en') {
......
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