mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 11:48:55 +00:00
Squashed commit
Always execute migration 9999 (can be used to fix things manually) Optimized meal plan navigation / date range filtering Prepared next release Pulled translations from Transifex Various code optimizations
This commit is contained in:
@@ -6,14 +6,9 @@ class BaseService
|
||||
{
|
||||
private static $instances = [];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public static function getInstance()
|
||||
{
|
||||
$className = get_called_class();
|
||||
|
||||
if (!isset(self::$instances[$className]))
|
||||
{
|
||||
self::$instances[$className] = new $className();
|
||||
|
Reference in New Issue
Block a user