bug:2426 admins shouldn't be able to perform any action on plugins
git-svn-id: http://piwigo.org/svn/trunk@12033 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
bd7f8c0ba2
commit
153d591c5d
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ $plugins = new plugins();
|
|||
//--------------------------------------------------perform requested actions
|
||||
if (isset($_GET['action']) and isset($_GET['plugin']))
|
||||
{
|
||||
if (in_array($_GET['action'], array('install', 'uninstall')) AND !is_webmaster())
|
||||
if (!is_webmaster())
|
||||
{
|
||||
array_push($page['errors'], l10n('Webmaster status is required.'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue