Skip to content

Commit

Permalink
fix signup hook
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Andrés <[email protected]>
  • Loading branch information
DiegoAndresCortes committed Nov 20, 2023
1 parent 6d73680 commit 16ef6f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

#### 4.1.12 - 20 November 2023
- ![Bug Fix](https://smftricks.com/assets/changelog/bug--minus.png) Various fixes.

#### 4.1.11 - 10 May 2022
- ![Improvement](https://smftricks.com/assets/changelog/tag--pencil.png) Use default theme path for images.
- ![Improvement](https://smftricks.com/assets/changelog/tag--pencil.png) Improvements for some search queries.
Expand Down
4 changes: 2 additions & 2 deletions Sources/Shop/Integration/Signup.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class Signup
/**
* Signup::register()
*
* Gives money toe the users upon registration
* Gives money to the users upon registration
*
* @param array $regOptions An array of registration options
* @return void
*/
public function register(&$regOptions, &$theme_vars, &$knownInts, &$knownFloats)
public static function register(&$regOptions, &$theme_vars, &$knownInts, &$knownFloats)
{
global $modSettings;

Expand Down
2 changes: 1 addition & 1 deletion Sources/Shop/Shop.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Shop
public static function initialize()
{
// Version and paths
self::$version = '4.1.11';
self::$version = '4.1.12';
self::$addonsdir = '/Shop/Integration/Addons/';
self::$itemsdir = '/shop_items/items/';
self::$modulesdir = '/Shop/Modules/';
Expand Down
2 changes: 1 addition & 1 deletion package-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
<id>smftricks:shop</id>
<name>ST Shop</name>
<version>4.1.11</version>
<version>4.1.12</version>
<type>modification</type>
<install for="2.1 - 2.1.99">
<!-- Mod Readme -->
Expand Down

0 comments on commit 16ef6f3

Please sign in to comment.