Skip to content

Commit 72f5977

Browse files
authored
Merge pull request #4 from mambax7/master
scrutinizer
2 parents 18e4539 + 332230f commit 72f5977

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

class/Common/SysUtility.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
use MyTextSanitizer;
2727
use XoopsFormDhtmlTextArea;
2828
use XoopsFormTextArea;
29-
use XoopsModules\Cssholmes;
29+
use XoopsModules\Cssholmes\Helper;
3030

3131
/**
3232
* Class SysUtility

class/Utility.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
use XoopsModules\Cssholmes;
3030
use XoopsModules\Cssholmes\Common;
31-
use XoopsModules\Cssholmes\Constants;
3231

3332
/**
3433
* Class Utility

include/oninstall.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function xoops_module_install_cssholmes(\XoopsModule $module)
6969
global $xoopsModule;
7070
$moduleId = $xoopsModule->getVar('mid');
7171
// $moduleId2 = $helper->getModule()->mid();
72+
/** @var \XoopsGroupPermHandler $grouppermHandler */
7273
$grouppermHandler = xoops_getHandler('groupperm');
7374
// access rights ------------------------------------------
7475
$grouppermHandler->addRight($moduleDirName . '_approve', 1, XOOPS_GROUP_ADMIN, $moduleId);

0 commit comments

Comments
 (0)