-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
* Remove submodules * Do not rewrite (ref: OpenMage/magento-lts#1513) Co-authored-by: Justin Beaty <justin.beaty@gmail.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +0,0 @@ | ||
[submodule "app/code/local/Cm/RedisSession/lib"] | ||
path = app/code/local/Cm/RedisSession/lib | ||
url = https://github.com/colinmollenhour/php-redis-session-abstract | ||
[submodule "app/code/local/Credis"] | ||
path = app/code/local/Credis | ||
url = https://github.com/colinmollenhour/credis | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,11 +38,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
</modules> | ||
<global> | ||
<models> | ||
<core_resource> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
colinmollenhour
Owner
|
||
<rewrite> | ||
<session>Cm_RedisSession_Model_Session</session> | ||
</rewrite> | ||
</core_resource> | ||
<cm_redissession> | ||
<class>Cm_RedisSession_Model</class> | ||
</cm_redissession> | ||
</models> | ||
</global> | ||
</config> |
Hi @fballiano I'm using OpenMage v19.4.23 at the moment and currently working to update it to PHP 8 and resulted in updating all my vendors files and also this Cm_RedisSession module to v3.0.1. But the problem now is, that this module doesn't work for 19.4.* versions because this rewrite is missing. Wouldn't it make sense to keep this rewrite because there are no bigger sideeffekts or consider the code (from https://github.com/OpenMage/magento-lts/pull/1513/files) below also for 19.4.* versions? I hope you understand what I mean. Best regards, Alexander
app/code/core/Mage/Core/Model/Session/Abstract/Varien.php::start($sessionName = null)
case 'redis': /* @var Cm_RedisSession_Model_Session $sessionResource */ $sessionResource = Mage::getSingleton('cm_redissession/session'); $sessionResource->setSaveHandler(); break;