Skip to content

Commit

Permalink
Don't need an additional polyfill class for Container
Browse files Browse the repository at this point in the history
- since the "legacy" class simply extended AbstractContainer, can use
  that as the polyfill
  • Loading branch information
weierophinney committed Mar 6, 2013
1 parent eb3f0cc commit 049d94c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion library/Zend/Session/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Zend\Session;

if (version_compare(PHP_VERSION, '5.3.4', 'lt')) {
class_alias('Zend\Session\Container\PhpLegacyCompatibility', 'Zend\Session\AbstractBaseContainer');
class_alias('Zend\Session\AbstractContainer', 'Zend\Session\AbstractBaseContainer');
} else {
class_alias('Zend\Session\Container\PhpReferenceCompatibility', 'Zend\Session\AbstractBaseContainer');
}
Expand Down
19 changes: 0 additions & 19 deletions library/Zend/Session/Container/PhpLegacyCompatibility.php

This file was deleted.

0 comments on commit 049d94c

Please sign in to comment.