Skip to content

Commit

Permalink
Merge pull request #4 from mambax7/master
Browse files Browse the repository at this point in the history
scrutinizer
  • Loading branch information
mambax7 authored Aug 8, 2020
2 parents 18e4539 + 332230f commit 72f5977
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion class/Common/SysUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
use MyTextSanitizer;
use XoopsFormDhtmlTextArea;
use XoopsFormTextArea;
use XoopsModules\Cssholmes;
use XoopsModules\Cssholmes\Helper;

/**
* Class SysUtility
Expand Down
1 change: 0 additions & 1 deletion class/Utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

use XoopsModules\Cssholmes;
use XoopsModules\Cssholmes\Common;
use XoopsModules\Cssholmes\Constants;

/**
* Class Utility
Expand Down
1 change: 1 addition & 0 deletions include/oninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function xoops_module_install_cssholmes(\XoopsModule $module)
global $xoopsModule;
$moduleId = $xoopsModule->getVar('mid');
// $moduleId2 = $helper->getModule()->mid();
/** @var \XoopsGroupPermHandler $grouppermHandler */
$grouppermHandler = xoops_getHandler('groupperm');
// access rights ------------------------------------------
$grouppermHandler->addRight($moduleDirName . '_approve', 1, XOOPS_GROUP_ADMIN, $moduleId);
Expand Down

0 comments on commit 72f5977

Please sign in to comment.