(Rollback) Keep instances to themselves

This commit is contained in:
Samuel Georges 2016-03-25 14:17:13 +11:00
parent 762c5e754b
commit e19ae42e45
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,10 @@ use Backend\Models\UserPreferences;
*/
class UserPreferencesModel extends SettingsModel
{
protected static $instances = [];
/**
* @var array Internal cache of model objects.
*/
private static $instances = [];
/**
* Constructor

View File

@ -28,7 +28,7 @@ class SettingsModel extends ModelBehavior
/**
* @var array Internal cache of model objects.
*/
protected static $instances = [];
private static $instances = [];
/**
* {@inheritDoc}