holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r11861: LJSUP-12019: I saw no console command to...

Committer: akanashin
LJSUP-12019: I saw no console command to manage domains ?\208?\160?\208?\164
U   trunk/cgi-bin/LJ/Console/Command/DomainRU.pm
Modified: trunk/cgi-bin/LJ/Console/Command/DomainRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/DomainRU.pm	2012-04-28 14:34:46 UTC (rev 11860)
+++ trunk/cgi-bin/LJ/Console/Command/DomainRU.pm	2012-05-02 07:06:36 UTC (rev 11861)
@@ -19,7 +19,7 @@
 
 sub can_execute {
     my $remote = LJ::get_remote();
-    return LJ::check_priv($remote, "domainru");
+    return LJ::check_priv($remote, "siteadmin", "domain");
 }
 
 sub execute {

Tags: akanashin, holyandrew, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments