aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora/gurpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rpmdragora/gurpmi.addmedia')
-rwxr-xr-xmodules/rpmdragora/gurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rpmdragora/gurpmi.addmedia b/modules/rpmdragora/gurpmi.addmedia
index e79dd95..3aafbf2 100755
--- a/modules/rpmdragora/gurpmi.addmedia
+++ b/modules/rpmdragora/gurpmi.addmedia
@@ -56,7 +56,7 @@ use MDK::Common::Func;
use common qw(N);
#
-if (AdminPanel::Privileges::require_root_capability()) {
+if (AdminPanel::Privileges::is_root_capability_required()) {
require AdminPanel::Shared::GUI;
my $sh_gui = AdminPanel::Shared::GUI->new();
$sh_gui->warningMsgBox({