File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -723,6 +723,7 @@ function pageTitle($page)
723723 'generatebouncerules ' ,
724724 'initialise ' ,
725725 'upgrade ' ,
726+ 'redirecttoupdater ' ,
726727 'processqueue ' ,
727728 'processbounces ' ,
728729 'reindex ' ,
@@ -736,6 +737,7 @@ function pageTitle($page)
736737 'eventlog ' ,
737738 'initialise ' ,
738739 'upgrade ' ,
740+ 'redirecttoupdater ' ,
739741 'bouncemgt ' ,
740742 'processqueue ' ,
741743 // 'processbounces',
@@ -797,12 +799,14 @@ function pageTitle($page)
797799 //'menulinks' => array(),
798800 //),
799801);
800- if (isSuperUser () && ALLOW_UPDATER ){
801- $ GLOBALS ['pagecategories ' ]['update ' ] = array (
802- 'toplink ' => 'redirecttoupdater ' ,
803- 'pages ' => array (),
804- 'menulinks ' => array (),
805- );
802+ if (!isSuperUser () || !ALLOW_UPDATER ){
803+ // $GLOBALS['pagecategories']['update'] = array(
804+ // 'toplink'=> 'redirecttoupdater',
805+ // 'pages' => array(),
806+ // 'menulinks' => array(),
807+ // );
808+ unset($ GLOBALS ['pagecategories ' ]['system ' ]['pages ' ]['redirecttoupdater ' ]);
809+ unset($ GLOBALS ['pagecategories ' ]['system ' ]['menulinks ' ]['redirecttoupdater ' ]);
806810}
807811if (DEVVERSION ) {
808812 $ GLOBALS ['pagecategories ' ]['develop ' ] = array (
You can’t perform that action at this time.
0 commit comments