Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Aug 20, 2020
1 parent cfc15ab commit 8fae9d8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -17,4 +17,4 @@ We accept contributions via Pull Requests on [Github](https://github.com/XoopsMo
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.

**Happy coding, and _May the Source be with You_!**
Happy coding, and **_May the Source be with You_**!
2 changes: 1 addition & 1 deletion include/updateblock.inc.php
Expand Up @@ -37,7 +37,7 @@ function xoops_module_update_waiting($module, $version)
$mid = $module->mid();
if ($mid) {
/** @var \XoopsConfigHandler $configHandler */
$configHandler = xoops_getHandler('config');
$configHandler = xoops_getHandler('config');
$waitingModuleConfig = $configHandler->getConfigsByCat(0, $mid);

$count = count($waitingModuleConfig['blocks']);
Expand Down
1 change: 1 addition & 0 deletions index.html
@@ -0,0 +1 @@
<script>history.go(-1);</script>
5 changes: 2 additions & 3 deletions plugins/myalbum.php
Expand Up @@ -22,12 +22,11 @@ function b_waiting_myalbum_0($mydirnumber = '')

for ($i = 0; $i < 3; ++$i) {
if (file_exists(XOOPS_ROOT_PATH . "/modules/myalbum{$i}/xoops_version.php")) {
eval(
'
function b_waiting_myalbum_' . ($i + 1) . '() {
eval(' function b_waiting_myalbum_' . ($i + 1) . '() {
return b_waiting_myalbum_0(' . $i . ');
}
'
);
}
}
?>
5 changes: 2 additions & 3 deletions plugins/wordpress.php
Expand Up @@ -23,12 +23,11 @@ function b_waiting_wordpress_0($wp_num = '')

for ($i = 0; $i < 10; ++$i) {
if (file_exists(XOOPS_ROOT_PATH . "/modules/wordpress{$i}/xoops_version.php")) {
eval(
'
function b_waiting_wordpress_' . ($i + 1) . '() {
eval(' function b_waiting_wordpress_' . ($i + 1) . '() {
return b_waiting_wordpress_0(' . $i . ');
}
'
);
}
}
?>
2 changes: 1 addition & 1 deletion xoops_version.php
Expand Up @@ -49,7 +49,7 @@
$modversion['min_xoops'] = '2.5.10';
$modversion['min_admin'] = '1.2';
$modversion['min_db'] = ['mysql' => '5.5'];

$modversion['hasMain'] = 0;
// Admin things
$modversion['hasAdmin'] = 1;
$modversion['system_menu'] = 1;
Expand Down

0 comments on commit 8fae9d8

Please sign in to comment.