Ignore:
Timestamp:
Sep 2, 2011, 11:08:43 AM (13 years ago)
Author:
mistic100
Message:

bug:2426 admins shouldn't be able to perform any action on plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/plugins_installed.php

    r12029 r12033  
    6363if (isset($_GET['action']) and isset($_GET['plugin']))
    6464{
    65   if (in_array($_GET['action'], array('install', 'uninstall')) AND !is_webmaster())
     65  if (!is_webmaster())
    6666  {
    6767    array_push($page['errors'], l10n('Webmaster status is required.'));
Note: See TracChangeset for help on using the changeset viewer.