Permalink
Browse files

update function name

  • Loading branch information...
1 parent 15a8774 commit c908e0022dbf1c406e7b0cd3cc2da27bd17ed68a @haraldpdl committed Feb 26, 2014
@@ -12,8 +12,6 @@
use osCommerce\OM\Core\OSCOM;
use osCommerce\OM\Core\Registry;
- use osCommerce\OM\Core\Site\Website\Invision;
-
class Controller extends \osCommerce\OM\Core\Site\Website\ApplicationAbstract {
protected function initialize() {
$OSCOM_Session = Registry::get('Session');
@@ -33,7 +33,7 @@ public static function initialize() {
Registry::get('MessageStack')->loadFromSession();
if ( !isset($_SESSION[OSCOM::getSite()]['Account']) && (OSCOM::getSiteApplication() != 'Account') ) {
- $OSCOM_Session->destroy();
+ $OSCOM_Session->kill();
}
}

0 comments on commit c908e00

Please sign in to comment.