bumps
This commit is contained in:
@@ -6,10 +6,10 @@ namespace Shimmie2;
|
||||
|
||||
function __extman_extcmp(ExtensionInfo $a, ExtensionInfo $b): int
|
||||
{
|
||||
if ($a->beta===true&&$b->beta===false) {
|
||||
if ($a->beta === true && $b->beta === false) {
|
||||
return 1;
|
||||
}
|
||||
if ($a->beta===false&&$b->beta===true) {
|
||||
if ($a->beta === false && $b->beta === true) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ class ExtManager extends Extension
|
||||
public function onPageSubNavBuilding(PageSubNavBuildingEvent $event)
|
||||
{
|
||||
global $user;
|
||||
if ($event->parent==="system") {
|
||||
if ($event->parent === "system") {
|
||||
if ($user->can(Permissions::MANAGE_EXTENSION_LIST)) {
|
||||
$event->add_nav_link("ext_manager", new Link('ext_manager'), "Extension Manager");
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user