From c78618e10faaaead92612cad9566b65a277c0730 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Mon, 20 Feb 2012 20:12:00 +0000 Subject: [PATCH] [gh-291] Merging from testing into staging -c 1452 git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1456 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- sites/all/modules/unl/unl.module | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sites/all/modules/unl/unl.module b/sites/all/modules/unl/unl.module index df5dcf4e0..dbe46bc02 100644 --- a/sites/all/modules/unl/unl.module +++ b/sites/all/modules/unl/unl.module @@ -469,6 +469,8 @@ function unl_menu_alter(&$items) { // Since clean URLs have no "prefix", we can just set it to 1. $items['styles/%image_style']['page arguments'] = array(1); } + + $items['admin/modules/uninstall']['access callback'] = 'unl_user_is_administrator'; } /** -- GitLab